Local Delivery App stopped working help!

New Member
7 0 0

Hi guys! 

We are on the trial for Local Delivery App and it was working fine when suddenly.. it stopped working. Our date picker calendar no longer drops down when it is selected and because the developer theme helped to set this as a required field, we cannot bypass it to accept orders. Does anyone know how we can fix it? 
Our store is www.25gramsbakery.com 

Thank you so much !


New Member
7 0 0

This is our snippet-local-delivery-cart.liquid  code: 
{{ '//ajax.googleapis.com/ajax/libs/jqueryui/1.8.18/themes/ui-lightness/jquery-ui.css' | stylesheet_tag}}

var unavailableDates = {{shop.metafields.local_delivery.unavailable_dates}};
var unavailableDays = {{shop.metafields.local_delivery.unavailable_days}};
var deliveryHours = {{shop.metafields.local_delivery.delivery_hours}};
var rateLimitEnabled = {{shop.metafields.local_delivery.rate_limit_enabled}};
var minimumDate = {{shop.metafields.local_delivery.minimum_date}};
var minimumHour = {{shop.metafields.local_delivery.minimum_hour}};
var localDeliveryVersion = 2;

{% assign local_delivery_items = false %}
{% for item in cart.items %}
{% if item.product.metafields.local_delivery.local_delivery_available == 'true' %}
{% assign local_delivery_items = true %}
{% endif %}
{% endfor %}

{% if local_delivery_items == true or shop.metafields.local_delivery.enable_all_products == 'true' %}
<div id="order-delivery">


<div id="order-delivery-form-wrapper" class="clearfix" style="width: 320px">


<p>Choose your delivery/collection date:
(Collections avail Mon, Wed, Sat 12-2pm)

<p> Date: <input type="text" id="datepicker" readonly="readonly"/> <p>

<div style="DISPLAY: none" id="timeDiv">
<p>Time:<select name="attributes[local_delivery_request]" id="local_delivery" style="width: 320px;" class="required" data-error="Please select a delivery date and time."></select></p>


<div id="wrapper-response"></div>

<br />
{% endif %}