Title: Plugin does not change order number
Last modified: January 4, 2022

---

# Plugin does not change order number

 *  Resolved [bartkal](https://wordpress.org/support/users/bartkal/)
 * (@bartkal)
 * [4 years, 5 months ago](https://wordpress.org/support/topic/plugin-does-not-change-order-number/)
 * Hello,
 * I was using custom order number but now plugin not workging. Since 2-3 weeks 
   plugin was causing conflict with wp desk plugin (for invoicing) – ajax problem
   and I had to turn it off.
    After few days I have decided try again custom order
   numbers and still the same but now there is a additional problem. After installation
   and configuration, plugin does not want to change order numbers. I/m receiving
   still woo default order number, for example: #147
 * This problem existing on my 3 online stores
 * Please help
    Best Regards Bart

Viewing 10 replies - 1 through 10 (of 10 total)

 *  Plugin Author [tychesoftwares](https://wordpress.org/support/users/tychesoftwares/)
 * (@tychesoftwares)
 * [4 years, 5 months ago](https://wordpress.org/support/topic/plugin-does-not-change-order-number/#post-15227776)
 * Hi Bart,
 * Would you please share the plugin page URL of WP desk plugin? And do you still
   face AJAX problems in that plugin?
 * And can you show me the setup through the screenshots you have done in our plugin
   and WP desk plugin?
 *  Thread Starter [bartkal](https://wordpress.org/support/users/bartkal/)
 * (@bartkal)
 * [4 years, 5 months ago](https://wordpress.org/support/topic/plugin-does-not-change-order-number/#post-15233800)
 * Hi,
 * Thx for reply. Yes, problem still exist.
    When Im using your order number plugin
   with wp desk invoice plugin if im right remember till 5.5.2 versin there is no
   ajax problem, if higher there is a problem with ajax
 * Plugin page URL of WP desk plugin:
 * [https://pl.wordpress.org/plugins/flexible-invoices/](https://pl.wordpress.org/plugins/flexible-invoices/)
   
   [https://flexibleinvoices.com/](https://flexibleinvoices.com/)
 * How can I upload screenshots?
 *  Thread Starter [bartkal](https://wordpress.org/support/users/bartkal/)
 * (@bartkal)
 * [4 years, 5 months ago](https://wordpress.org/support/topic/plugin-does-not-change-order-number/#post-15241969)
 * Dear tychesoftwares,
 * Do you have any update?
 *  Plugin Author [tychesoftwares](https://wordpress.org/support/users/tychesoftwares/)
 * (@tychesoftwares)
 * [4 years, 5 months ago](https://wordpress.org/support/topic/plugin-does-not-change-order-number/#post-15244489)
 * Hi [@bartkal](https://wordpress.org/support/users/bartkal/),
 * You can create the ticket [here ](https://tychesoftwares.freshdesk.com/support/signup)
   and upload the screenshots. Also, please share the screenshot of the AJAX issue.
 *  Thread Starter [bartkal](https://wordpress.org/support/users/bartkal/)
 * (@bartkal)
 * [4 years, 5 months ago](https://wordpress.org/support/topic/plugin-does-not-change-order-number/#post-15245566)
 * Hi [@tychesoftwares](https://wordpress.org/support/users/tychesoftwares/),
 * Ticket has been created.
 *  Thread Starter [bartkal](https://wordpress.org/support/users/bartkal/)
 * (@bartkal)
 * [4 years, 4 months ago](https://wordpress.org/support/topic/plugin-does-not-change-order-number/#post-15255225)
 * Hi [@tychesoftwares](https://wordpress.org/support/users/tychesoftwares/)
 * Do you have any update?
 *  [melebius](https://wordpress.org/support/users/melebius/)
 * (@melebius)
 * [4 years, 3 months ago](https://wordpress.org/support/topic/plugin-does-not-change-order-number/#post-15366294)
 * While testing WordPress 5.9 with my WooCommerce site, I have experienced the 
   numbers aren’t changed in my case, too. However, if I set an “Order number custom
   prefix” in the plugin settings, it starts to behave as expected. Could it be 
   your case, [@bartkal](https://wordpress.org/support/users/bartkal/)?
 *  Plugin Author [tychesoftwares](https://wordpress.org/support/users/tychesoftwares/)
 * (@tychesoftwares)
 * [4 years, 3 months ago](https://wordpress.org/support/topic/plugin-does-not-change-order-number/#post-15379926)
 * Hi [@melebius](https://wordpress.org/support/users/melebius/),
 * Do you mean that you’re not getting custom order numbers without adding prefix?
   What’s the setup you have in the plugin?
 * [@bartkal](https://wordpress.org/support/users/bartkal/) had an issue coming 
   due to “Flexible Invoice” plugin which has been solved by making changes in the
   file BaseDecorator.php ( located at: wp-content\plugins\flexible-invoices\vendor_prefixed\
   wpdesk\flexible-invoices-core\src\Invoices\Decorators\ )
 * On line number 409, there currently the code is
 * public function get_order_number() : int
 * which needs to be changed to this :
 * public function get_order_number() : string
 *  [melebius](https://wordpress.org/support/users/melebius/)
 * (@melebius)
 * [4 years, 3 months ago](https://wordpress.org/support/topic/plugin-does-not-change-order-number/#post-15441157)
 * [@tychesoftwares](https://wordpress.org/support/users/tychesoftwares/) Sorry 
   for the delay, I am not actively working on the project currently.
 * _Do you mean that you’re not getting custom order numbers without adding prefix?_
 * Yes, exactly.
 * This is my setup:
 * WooCommerce Custom Order Numbers: Enable
    Order numbers counter: Sequential Sequential:
   Reset counter: Disabled Order number custom prefix: `1` or empty (this makes 
   the difference) Enable order tracking by custom number: Enable Hide … for roles(
   2 fields): empty
 * I am using the free version, the fields I have not mentioned are disabled.
 *  Plugin Author [tychesoftwares](https://wordpress.org/support/users/tychesoftwares/)
 * (@tychesoftwares)
 * [4 years, 2 months ago](https://wordpress.org/support/topic/plugin-does-not-change-order-number/#post-15517666)
 * Hi [@melebius](https://wordpress.org/support/users/melebius/),
 * `Order number custom prefix: 1 or empty (this makes the difference)`
 * Didn’t you set anything in the custom prefix? Can you please create the ticket
   on our [support tool](https://tychesoftwares.freshdesk.com/support/signup) and
   show me screenshots of the issue you’re referring to?

Viewing 10 replies - 1 through 10 (of 10 total)

The topic ‘Plugin does not change order number’ is closed to new replies.

 * ![](https://ps.w.org/custom-order-numbers-for-woocommerce/assets/icon-256x256.
   jpg?rev=2825614)
 * [Custom Order Numbers for WooCommerce](https://wordpress.org/plugins/custom-order-numbers-for-woocommerce/)
 * [Frequently Asked Questions](https://wordpress.org/plugins/custom-order-numbers-for-woocommerce/#faq)
 * [Support Threads](https://wordpress.org/support/plugin/custom-order-numbers-for-woocommerce/)
 * [Active Topics](https://wordpress.org/support/plugin/custom-order-numbers-for-woocommerce/active/)
 * [Unresolved Topics](https://wordpress.org/support/plugin/custom-order-numbers-for-woocommerce/unresolved/)
 * [Reviews](https://wordpress.org/support/plugin/custom-order-numbers-for-woocommerce/reviews/)

 * 10 replies
 * 3 participants
 * Last reply from: [tychesoftwares](https://wordpress.org/support/users/tychesoftwares/)
 * Last activity: [4 years, 2 months ago](https://wordpress.org/support/topic/plugin-does-not-change-order-number/#post-15517666)
 * Status: resolved