Unable choosing certain dates
Hi,
I'm currently using a 1.9.2 widget on my store.
-
- {{ 'http://code.jquery.com/ui/1.9.2/themes/base/jquery-ui.css' | stylesheet_tag }}
- {{ '//ajax.googleapis.com/ajax/libs/jqueryui/1.9.2/jquery-ui.min.js' | script_tag }}
-
- <div style="width:300px; clear:both;">
- <p>
- <label for="date">Pick a delivery date at least 3 weeks ahead your arrival:</label>
- <input id="date" type="text" name="attributes[date]" value="{{ cart.attributes.date }}"class="required"/>
- </p>
- </div>
-
- <script>
- jQuery(function() {
- jQuery("#date").datepicker( {
- minDate: +15,
- maxDate: "+2M"
- } );
- });
- </script>
And I need to unable choosing a specific date on the widget, I don't want my customers to choose all Mondays.
How can we set this up?
Best regards,
Fabien.