Jump to content

[SOLVED] Messed up shopping cart ID's


dsf

Recommended Posts

Hi!

 

I have setup and been running a store for several months without too many major problems, however i am now constantly getting errors when trying to add items to the cart.

Front office - when i go to a cart it shows as empty.

Back Office - When i manuall add an order i get the error message: An order has already been placed with this cart.
This product cannot be added to the cart.

 

Months ago i used a module to clean up the database - both the built in prestashop one and Database Optimization v1.1 - by MyPresta.eu

 

I think it deleted all the cart_id info? And the carts started again from the begginging.

 

But... it has been working ok upto now when suddenly i am getting problems with the "order has already been placed with this cart" messages and looking at the shopping cart list it is showing matches to the incorrect older orders.

 

How can i get the cart_id field to stop reusing old id's and start say from 900 or 1000 onwards to avaid reusing old id's?

 

Thank you for any help!!!

 

 

PrestaShop version 1.6.0.9

PHP version 5.4.31

 

 

Link to comment
Share on other sites

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