VirtueMart

WooCommerce

Others

Docs

Support

Demo

Blog

About

Ordernumbers for WooCommerce
Welcome, Guest
Username: Password: Remember me
  • Page:
  • 1

TOPIC: How to reset daily counter

How to reset daily counter 17 Aug 2017 16:47 #1

  • AdrianCKW
  • AdrianCKW's Avatar Topic Author
  • Offline
  • Posts: 1
Hi,

I'm trying to achieve [year2][####][day][month] where the order sequence number will 1700011708. Once the next day start the counter [####]will reset to 0001. Not sure if the above format set correctly. Hope to hear from you soon.

Regards,

Please Log in or Create an account to join the conversation.

How to reset daily counter 24 Aug 2017 19:19 #2

Dear AdrianCKW,
Your number format looks correct. You only need to make sure that "Use Global Counter" is NOT checked. If that checkbox is checked, then the counter will simply increase with each order, irrespective of your number format. However, if the Global counter checkbox is NOT checked, then the counter will "reset" whenever any of the variables used in the format changes. In your case, the day variable will change every day, so the counter starts from 0001 each day.

Best regards,
Reinhold

Please Log in or Create an account to join the conversation.

  • Page:
  • 1