Hi,
I am using OC 2.2.0.0.
In my openkart store, I am using the product option feature.
In that Product option, i am able to select a previous date(date.png) also.
could you help on this regards.
Thanks in advance.
I am using OC 2.2.0.0.
In my openkart store, I am using the product option feature.
In that Product option, i am able to select a previous date(date.png) also.
could you help on this regards.
Thanks in advance.
Attachments
date.png (921.37 KiB) Viewed 966 times
Hi,
Thank you for your reply.
I am new to java script.
where i need to add following code.
In that product.tpl, lot of code is there.
Please find my product.tpl file.
Thank you for your reply.
I am new to java script.
where i need to add following code.
Code: Select all
$('.date').datepicker({
minDate: 0,
dateFormat: 'dd-mm-yy',
});
Please find my product.tpl file.
at the bottom of your product.tpl file find
And change it to
Refresh in modifications after
Code: Select all
$('.date').datetimepicker({
pickTime: false
});
Code: Select all
$('.date').datetimepicker({
minDate: moment(),
pickTime: false
});
Who is online
Users browsing this forum: No registered users and 23 guests