I added a coupon Code to the cart. We have serious problems with customers trying to buy photographs.
Seems like the coupon code varnishes time by time so our customers have no possibility to use it. You can imagine the mess we are confronted with.
So why does the coupon code vanish? Is this known issue?
I am I right, that the coupon code can be used multiple times or is it being deactivated after the first usage. That’s what it looks like to me.
So even if I do not set an expiration date the coupon can only be used once.
In depth when looking into the sqlite you can see that freshly created coupons do not have a modified date in the table. It is set to NULL.
Whenever the code is beeing used this field is set to the current date and time e.g.:
2024-07-17 16:28:28
Seems like this indicates, that the coupon has already been used and is therefor not usable again.
Strange is that the table holds 2 fields: “amount” and “balance”
Seems like this was intended to specify how often a coupon can be used (amount). But this seems not to be implemented which would be great. And if amount=0 would tell the system that the coupon code can be used as many times as you want that would be the greatest.
Maybe @Ben knows more about this topic and the implementation logic behind it?