Post by abhinavd002 » Fri Jun 29, 2018 12:13 am

How to get "date selection" (if a costumer place order he should not get the option of next day, he should get the option of date selection after next day only) option for products.

Newbie

Posts

Joined
Thu Jun 28, 2018 11:21 pm

Post by straightlight » Fri Jun 29, 2018 10:22 pm

In your relative TWIG file, find:

Code: Select all

$('.date').datetimepicker({
and / or:

Code: Select all

$('.datetime').datetimepicker({
add below (possibly) each:

Code: Select all

minDate: 2,
This should rectify the issue.

The most generated errors being found on Opencart forum originates from contributed programming.

Regards,
Straightlight


Legendary Member
Online

Posts

Joined
Mon Nov 14, 2011 11:38 pm
Location - Canada, ON
Who is online

Users browsing this forum: daniGo and 12 guests