Cart Scheduling Option - First Available Date X Days from Today

Follow

Comments

1 comment

  • Avatar
    Zetya Support

    Hi Tyler,

    Yes, this is possible.

    You need to add an attribute to the datepicker: 

    data-mindate

    So if you wanted it to be 1 day it would look like this:

    <input id="booking" type="text" name="attributes[booking]" value="{{ cart.attributes[booking] }}" size="12" class="datepicker bta bta-load-enable" autocomplete="off" disabled="disabled" data-mindate="1" />

    Thanks, Gavin.

Please sign in to leave a comment.