We have been using coupon codes fine, but now we want to delete or clean up some of our super old ones so we can use them again - the same name for the code. Is this possible?
Simply deleting them doesn't really remove them.
We have been using coupon codes fine, but now we want to delete or clean up some of our super old ones so we can use them again - the same name for the code. Is this possible?
Simply deleting them doesn't really remove them.
You would need to do this in phpMyAdmin and look at the table:
coupons
You will find the Discount Coupons from the:
coupon_code
and you will see them marked as:
coupon_active
where N is the ones that are marked "deleted" or "expired" ...
Linda McGrath
If you have to think ... you haven't been zenned ...
Did YOU buy the Zen Cart Team a cup of coffee and a donut today? Just click here to support the Zen Cart Team!!
Are you using the latest? Perhaps you've a problem that's fixed in the latest version: [Upgrade today: v1.5.1]
Officially PayPal-Certified! Just click here
Try our Zen Cart Recommended Services - Hosting, Payment and more ...
NOTE: if you are deleting them in phpMyAdmin then you need to remove them from the:
coupons_description
coupon_restrict
before you do this ...
If you change the coupon_active to Y you can then change them via the Zen Cart Admin ...
Linda McGrath
If you have to think ... you haven't been zenned ...
Did YOU buy the Zen Cart Team a cup of coffee and a donut today? Just click here to support the Zen Cart Team!!
Are you using the latest? Perhaps you've a problem that's fixed in the latest version: [Upgrade today: v1.5.1]
Officially PayPal-Certified! Just click here
Try our Zen Cart Recommended Services - Hosting, Payment and more ...
Ajeh,
I tried today to delete a coupon on the Admin side and it basically just changed the status to inactive instead of deleting it from the database. Any ideas?
Thanks!
.
Zen Cart - putting the dream of business ownership within reach of anyone!
Donations always welcome: www.zen-cart.com/donate
Remember: Any code suggestions you see here are merely suggestions. You assume full responsibility for your use of any such suggestions, including any impact ANY alterations you make to your site may have on your PCI compliance.
Furthermore, any advice you see here about PCI matters is merely an opinion, and should not be relied upon as "official". Official PCI information should be obtained from the PCI Security Council directly or from one of their authorized Assessors.
Thanks DrByte! In that case I need to go find a different thread to attach my issue. I was prompted to delete a coupon today when an expired coupon was accepted as valid by Zen Cart. I will go look for the best thread to pick up this issue.
Thanks!
Bookmarks