• Resolved Pat

    (@patrickhaond)


    Hi there.

    I am starting a brand new WooCommerce boutique and the first invoice start at #1, which is not great…

    How can I change that, I can’t find the parameter in the last WooCommerce version.

    Thanks in advance.

Viewing 3 replies - 1 through 3 (of 3 total)
  • Ahir Hemant

    (@hemant-ahir)

    To change the starting invoice number in WooCommerce, you can follow these steps:Method 1: Change Invoice Number Using a Plugin

    1. Install a Plugin: Use a plugin that allows you to customize invoice numbering, such as “Sequential Order Numbers for WooCommerce” or “WooCommerce Sequential Order Numbers Pro”. These plugins provide an easy interface to set your starting number.
    2. Configure the Plugin: After installing, go to the plugin settings (usually found under WooCommerce > Settings or in a separate menu) and set the starting number to your desired value.

    Method 2: Manually Change Order Number in Code

    If you prefer not to use a plugin, you can add custom code to your theme’s functions.php file or in a custom plugin:

    add_filter('woocommerce_order_number', 'ahirwp_custom_order_number', 1, 2);
    function ahirwp_custom_order_number($order_id, $order) {
    $start_number = 1000; // Change this to your desired starting number
    return $start_number + $order_id;
    }

    Using a plugin is typically the easiest and safest way to customize order numbering. The code method is great if you want to keep things light and avoid extra plugins. Just be cautious when editing code or database entries, as it can affect your site’s functionality.

    Let me know if you need more help with any of these steps!

    Thanks
    Ahir Hemant

    Plugin Support ckadenge (woo-hc)

    (@ckadenge)

    Hi @patrickhaond,

    Thank you for reaching out.

    Just to reiterate on what community member @hemant-ahir has already shared.

    To change the starting invoice number in WooCommerce, you would need to use the help of a plugin, as this feature is not available in WooCommerce by default.

    One of the plugins you can use is Sequential Order Numbers Pro for WooCommerce. This plugin allows your store to have sequential, rather than random, order numbers. Additionally, you can customize your order numbers by setting a starting number, order number length, and custom prefixes and suffixes. Instead of your order numbers looking like 15, 16, 37, and so on, they could now be WT-01000-UK, WT-01001-UK, or whatever format you prefer!

    We offer a 30-day refund policy which you can take advantage of, allowing you to test the extension, and make sure that it works the way you need.

    I hope this helps! If you have any other questions, please feel free to ask.

    Plugin Support ckadenge (woo-hc)

    (@ckadenge)

    Hi there?@patrickhaond,

    I’m marking this topic as “resolved” due to recent inactivity. If more assistance is needed, feel free to post back here or open a new topic ( https://www.ads-software.com/support/plugin/woocommerce/#new-topic-0 ).

    Thanks!

Viewing 3 replies - 1 through 3 (of 3 total)
  • You must be logged in to reply to this topic.