VirtueMart

WooCommerce

Others

Docs

Support

Demo

Blog

About

Forum
Welcome, Guest
Username: Password: Remember me

TOPIC: How to reset daily counter

How to reset daily counter 17 Aug 2017 16:47 #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,
The administrator has disabled public write access.

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
The administrator has disabled public write access.

VM - Shopping cart

 x 

Cart empty

Login Formular