• Resolved lagiggala

    (@lagiggala)


    Hi

    I installed woocommerce and I see the number of orders not start form 1, what is the reason to not start from 1 the orders ?

    Exist possibility to start orders number from 1 in woocommerce ?

    Thanks

    Have a nice day

Viewing 2 replies - 1 through 2 (of 2 total)
  • Plugin Support con

    (@conschneider)

    Engineer

    Hi there,

    > I installed woocommerce and I see the number of orders not start form 1, what is the reason to not start from 1 the orders ?

    That is because WooCommerce uses the WordPress post_id values. You can customize this via for example: https://www.ads-software.com/plugins/woocommerce-sequential-order-numbers/

    Please note that we provide no warranty or support for custom code or 3rd party plugins (meaning we cannot not help you further with this code snippet or www.ads-software.com / GitHub plugins). Use them at your own risk.

    **Also: Before you do that, please do make a full backup!**

    Kind regards,

    Rynald0s

    (@rynald0s)

    Automattic Happiness Engineer

    Hi @lagiggala!

    Just some further detail around what @conschneider already said above.

    The order numbers are indeed based on post IDs. This is a unique number that WordPress uses for many things, such as posts, pages, categories, tags, products, product categories, comments, and so on — WordPress will use the next available post ID for the next item it has to create.

    Order numbers are rarely sequential as other things are happening in WordPress which uses up the next ID. So an order will be assigned the next available post ID.

    Cheers!

Viewing 2 replies - 1 through 2 (of 2 total)
  • The topic ‘Why order number do not start from 1 ?’ is closed to new replies.