luispnovis Posted October 5, 2016 Share Posted October 5, 2016 Hello This might seem a strange request but here it goes... I want to start a shop where the order id´s start at 10000 and go increasing. So first order is order 10000. This is because I have a first shop and have a payment option that uses order id to communicate to the shop. So if my second store starts at order id=0, I would never know where the payment comes from. Can anyone help me here. All I want is: orders with id to 10000 come from shop 1 orders with id > 10000 come from shop 2 Thank you Link to comment Share on other sites More sharing options...
Logical IT Posted October 6, 2016 Share Posted October 6, 2016 Hello, Can you please clarify if you are using PrestaShop multi-shop configuration or are your stores on two separate installations of PrestaShop? Link to comment Share on other sites More sharing options...
Knowband Plugins Posted October 6, 2016 Share Posted October 6, 2016 You can achieve that by running the following query after installation of your new PrestaShop store. ALTER TABLE (YOUR_DB_PREFIX)_orders AUTO_INCREMENT = 10000; Link to comment Share on other sites More sharing options...
LuisMP Posted October 6, 2016 Share Posted October 6, 2016 Thank you! It´s really two independent installations of Prestashop Link to comment Share on other sites More sharing options...
Logical IT Posted October 7, 2016 Share Posted October 7, 2016 Hello Luis, I have created a module for you that allows you to easily change the order start number from the back office. You can download the module for free from here: https://www.logicalit.com/prestashop-modules/en/20-change-order-id-start-number-prestashop-module.html Link to comment Share on other sites More sharing options...
Recommended Posts
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 accountSign in
Already have an account? Sign in here.
Sign In Now