I created a date field for my products on woocommerce. Then Sorted my products based on that date. How can I get a dynamic number for my products based on that date.
1st product date is 10/05/2019
2nd product date is 15/05/2019
3rd product date is 12/05/2019
Give products numbers like this:
1st product date is 10/05/2019 Product number 1
3rd product date is 12/05/2019 Product number 2
2nd product date is 15/05/2019 Product number 3