Wordpress customization

Job ID: 31283188

Budget: $10 – $30 USD

I have a loterry plugin that shows the lottery numbers in the woocommerce product page with numbers from 1 to any number i want.

1 - I need to show numbers in 3 tabs. All numbers, Bought numbers, Reserved number (system reserve the number when it is added to cart.)

2 - I need the numbers start with 0, not start with number 1 how happens now

3 - I need to make the numbers have the same quantity of digits of the biggest number adding zero number at the left side of numbers with 1 or 2 digits if the biggest number is 3 digits.

Example:

if the biggest number is 999. my wordpress is showing 1,2,3,4 etc and 10,11,12,13

i would like it shows 001, 002, 003, 004 etc and 010, 011, 012, 013 , in other words all the numbers have 3 digits like the biggest number 999.

If the biggest number is 9999, all the numbers must have 4 digits 0000, 0001, 0002..... 0010, 0011, 0012.... 0100, 0101, 0102, 0103, 0104 ...... 9997, 9998, 9999

I use a plugin that makes this lottery numbers and when i create a produt i choose the type of product LOTTERY and i can define the maxium number of lottery that is what i named biggest number. so i imagine you can make the system add zeros in the number acordingly to the quantity of digits of the biggest number
Related categories: PHP WordPress CSS HTML WooCommerce