Local Delivery App stopped working help!

Highlighted
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 !

 

0 Likes
Highlighted
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}}

<script>
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;
</script>

{% 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">

<h3></h3>

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

<p>{{shop.metafields.local_delivery.custom_text}}</p>

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

<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>

</div>

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

<br />
{% endif %}

0 Likes