Im using 1.4.9.1
At the time im having about 500 Coupon Codes and about 400 of them are used and useless.
Is it possible to batch remove used coupon codes?
Maybe with a SQL command?
I haven't tested this but you could try this:
Let me know how you get on.
Peter
Code: Select all
DELETE FROM coupon WHERE coupon_id IN (SELECT coupon_id FROM coupon_history)
Peter
For OpenCart & PHP/MySQL support feel free to PM me
Click here for my extentions
Did I help you? Donate here to show support
Ah, sorry I wasn't aware of that. I will have look and come back to you soon!
For OpenCart & PHP/MySQL support feel free to PM me
Click here for my extentions
Did I help you? Donate here to show support
Who is online
Users browsing this forum: Bing [Bot] and 20 guests