• pixiprints

    (@pixiprints)


    Hi!

    I am looking for a proper way to set a new order id as a starting point for all orders in our 2nd Woo store. The reason for this is that we import the orders into an external software and the software has a tendency to mix up orders if they have the exact same order number, so I need to find a way to change the numbers on database level.

    The orders are being imported using REST and hence those plugins that change the order number don’t work. What those do is that they keep the “internal” order number (the number in the database) and just translate it to a sequential order number featuring the set prefix and such. But the number in teh database stays the same, so our software would still import the internal order number.

    So basically, there must be some way to tell Woo that the last order id was – let’s say – 200000 – so any new order must have an order number higher than 200000.

    Any ideas?

    Thanks

    Alex

Viewing 1 replies (of 1 total)
  • Hey there, @pixiprints! Thanks for contacting us.

    To customize the order ID like that you would need custom code.

    While we can’t provide support for code customization as per our support policy, we do our best to offer advice and direct you to appropriate resources.

    You can visit the WooCommerce Facebook group or the #developers channel of the WooCommerce Community Slack. We’re lucky to have a great community of open-source developers for WooCommerce, and many of our developers hang out there too.

    I’m going to leave it open for a bit to see if anyone is able to chime in and help you out further.

    Please let us know if there’s anything else we can do to help or if you have any questions.

    Have a wonderful day!

Viewing 1 replies (of 1 total)
  • The topic ‘New “start” order number for 2nd store’ is closed to new replies.