- This topic has 3 replies, 2 voices, and was last updated 11 years, 3 months ago by .
Viewing 4 posts - 1 through 4 (of 4 total)
Viewing 4 posts - 1 through 4 (of 4 total)
- You must be logged in to reply to this topic.
Support site for Tips and Tricks HQ premium products
by
Tips and Tricks HQ Support Portal › Forums › WP eStore Forum › WP eStore Tweaks › Next Coupon ID Number – How and where is it set?
Tagged: coupon id, coupon id number
Can you tell me where the ID number of the coupon is kept. How does the system know what coupon id number to assign the next coupon?
The coupon ID is merely the next sequential row number of the MySQL table that contains the coupon data.
So what happens if you delete a coupon? It seems to still up the id number. How does it track that?
It’s an auto increment column. MySQL uses the next highest number. It’s like the Product ID number; you have no say in what ID number gets assigned to what.
eStore is not “keeping track” of the ID number; the MySQL database is.
What really matters is the “Coupon Code” that you associate with the ID number. Your customers only ever sees or uses the Coupon Code. You can make each coupon code unique.