Jump to content

Add datepicker to order page


bedum

Recommended Posts

Hi i am using 1.4.4.1, may i know how to add a Jquery dateTimePicker to the order page when it reaches the shipping step? I would like to allow user to place their desired delivery date and time to inform admin about this delivery time.

 

I would think it required the following.

 

1) Add the jquery date to the UI.. e.g.

<link type="text/css" rel="stylesheet" href="{$base_dir}js/jquery/datepicker/datepicker.css" />
{literal}
   $(function() {
    $("#TRdatepicker").datepicker({
	    prevText:"",
	    nextText:"",
	    dateFormat:"yy-mm-dd"});
   });
{/literal}
<input type="text" name="TRdatepicker" id="TRdatepicker" value="{$date_now}">

 

2) Create a new field in database to store the deliveryDate.

 

3) Add new field to Email and admin order details form to alert admin about the delivery date.

 

I think this feature is really useful and can help a lot of those who are passionate of using Prestashop guys. I do not see anyone posts this good feature except the paid module.

Can someone expert here give advice on this? We would appreciate this alot ..

  • Like 1
Link to comment
Share on other sites

  • 8 months later...
  • 2 years later...

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now
×
×
  • Create New...