• Resolved Jota McCready

    (@ota59)


    Hello guys!

    I need some help with my site, I have some orders in my WC site but now I need to increase the new incoming orders ID from 700.000. I found some plugins (as Sequential Order Number for WooCommerce) to solve this but I would like to know if is there any way to do this same using a hook.

    I would appreciate any help.

    Thanks in advance.
    Have a great day everyone!

Viewing 1 replies (of 1 total)
  • Plugin Support Shameem R. a11n

    (@shameemreza)

    Hi @ota59

    Yes, you can achieve this using a hook. You can use the woocommerce_new_order hook and then use the wp_update_post function to update the order ID.

    Please note that we can’t provide support for coding or customization as per our support policy. Still, if you need help, we recommend asking development questions on the #developers channel of the WooCommerce Community Slack. Many of our developers hang out there and will be able to offer insights into your question.

    I wish I could help more, but hopefully, this gets you going in the right direction to get the job done.

Viewing 1 replies (of 1 total)
  • The topic ‘Increase new order ID’ is closed to new replies.