Jump to content

Add basket timeout


Recommended Posts

Hello,

 

last week one of my client succeeded to order beyond the limit of time setup. 

 

I've made sure that clients can only choose a delivery slot 2 hours after the current time. 

 

example : it's 12:25, the first delivery slot available is 2:30

 

However, if the client choose the delivery slot, but don't continue the purchase and remain on the page, if he validates 2 hours later (for the example above, lets say it's now 2:25), the command will be validated. 

 

I believe I can check the cookie with the last update date of the whole basket and the current time (if the user is in the order process pages) to avoid such behavior.

 

If someone as an idea, it would be really helpfull.

 

I'm using prestashop 1.6.1.3

Link to comment
Share on other sites

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...