winedog Posted June 18, 2009 Share Posted June 18, 2009 Hi, So it looks like OSC starts at order number 1 and then just increments numerically after each order is created. Where can I change the starting order number or the way in which orders increment? Is there a way to force it to a larger number so that it's not immediately obvious how many orders have been processed on a brand new store? Link to comment Share on other sites More sharing options...
♥geoffreywalton Posted June 19, 2009 Share Posted June 19, 2009 The answer is in the knowledgebase http://www.oscommerce.info/kb/osCommerce Need help installing add ons/contributions, cleaning a hacked site or a bespoke development, check my profile Virus Threat Scanner My Contributions Basic install answers. Click here for Contributions / Add Ons. UK your site. Site Move. Basic design info. For links mentioned in old answers that are no longer here follow this link Useful Threads. If this post was useful, click the Like This button over there ======>>>>>. Link to comment Share on other sites More sharing options...
winedog Posted June 19, 2009 Author Share Posted June 19, 2009 Thank you! Answer was here http://www.oscommerce.info/kb/osCommerce/G...s_and_Tricks/31 Link to comment Share on other sites More sharing options...
knifeman Posted July 23, 2009 Share Posted July 23, 2009 I have installed scrambled order number on my other shops. What would be nice is if you could just force the number to increment by say 6 instead of by 1 every time a new order is placed. Then once your store is moving along, you could back that number down. Of course this would not work for those counting their orders, but it would for lots of others. Tim Link to comment Share on other sites More sharing options...
♥ecartz Posted July 24, 2009 Share Posted July 24, 2009 What would be nice is if you could just force the number to increment by say 6 instead of by 1 every time a new order is placed.That's possible, but apparently in MySQL, it is a server wide setting (affects all tables on all databases): auto_increment_increment. You can also manually set the order ID when you insert into the orders table. I forget if you have to turn off auto incrementing on the column first. Might be subject to an odd race condition it two people place orders at the same time. Always back up before making changes. Link to comment Share on other sites More sharing options...
Recommended Posts
Archived
This topic is now archived and is closed to further replies.