Hi @sarahweb
So this has me stumped – someone just purchased an item and used a coupon code that gave them 10% off
but that code does NOT exist in the woocommerce set up, I even checked the DB in case it was left over from an old coupon code etc AND I was able to create the code just now to add an expiry date to stop anyone else using it! But that didn’t work it ignored it! has anyone else had anything like this? and how do I stop people using it again?
I see you’re dealing with a tricky situation – a customer recently used a coupon code that doesn’t exist in your WooCommerce setup and managed to get a 10% discount. Despite checking your database and even trying to create the code yourself to add an expiry date, the system didn’t recognize it. Now, you’re wondering how to prevent this from happening again.
That’s quite a puzzle, but kudos to you for your efforts to solve it! Here are a few possibilities we can explore:
- Caching Issue: If you’re using a caching plugin, try clearing your cache or disabling it temporarily to see if that helps.
- Plugin Conflict: Another plugin might be clashing with WooCommerce and allowing non-existent coupon codes. Try disabling all other plugins except WooCommerce to see if the problem persists.
- Theme Issue: Switch to a default theme like Storefront to see if the problem continues. If it doesn’t, your theme might be the culprit. Here’s a helpful guide on how to test for conflicts: ?? How to Test for Plugin and Theme Conflicts
- Third-party Plugin: A third-party plugin might have generated the coupon. Check if you have any coupon-related plugins that could be creating the code.
- Database Error: There might be a database error. If you’re comfortable with it, check your wp_postmeta table in your database for any entries related to the coupon code.
If these suggestions don’t solve the issue, could you share more details with us? Specifically, the exact coupon code used, and any error messages you received when trying to create the coupon code? This will help us dig deeper and find a more accurate solution.
It would also be helpful if you could share your site’s System Status report. It will give us a better understanding of your site’s setup and help us pinpoint the problem. You can find it via WooCommerce > Status
. Select Get system report
and then Copy for support
.
Lastly, if there are any fatal error logs, please share them from WooCommerce > Status > Logs
.
Once you have that, please paste it inside a Code block in your reply, or use https://pastebin.com/ to paste it and share the link with us.
Thank you for your patience and cooperation in this matter. I’m looking forward to your response so we can solve this issue for you.