Unique random number
-
How to generate a unique random number associated with each product?
For example, whoever buys product X (with a thousand units in stock), after confirming the payment, receives a random 3-digit number (between 000 and 999) that is not repeated. when I sell all units, I create a new product.
Thanks.
Viewing 2 replies - 1 through 2 (of 2 total)
Viewing 2 replies - 1 through 2 (of 2 total)
- The topic ‘Unique random number’ is closed to new replies.