Issue: Discount codes configured for specific customer groups (e.g., tagged ‘WHOLESALER’) are being accepted by all customers, including guests at checkout, despite eligibility restrictions being set.
Affected Users: Multiple merchants report this problem persisting from 2024 into 2025, suggesting it’s a widespread platform issue.
Potential Workaround: One user discovered that while restricted discount codes initially appear to work for guests, they become deactivated once an ineligible email address is entered during checkout—preventing final purchase completion. A screenshot demonstrates this behavior.
Suggested Solutions:
Using third-party apps like “Discount Depot” that enforce customer tag-based pricing restrictions at the product/collection level
Requesting custom development to properly enforce eligibility rules
Status: No official Shopify fix has been announced. The discussion remains open with users seeking a permanent solution to properly restrict discount code usage to designated customer segments.
Summarized with AI on October 24.
AI used: claude-sonnet-4-5-20250929.
In my discounts, I have discount codes, a percentage off the order, such as WHOLESALER tagged to specific set of customers, customer_tags CONTAINS ‘WHOLESALER’. So Customer Eligibility is set to specific customers. Yet at checkout, all customers can use WHOLESALER discount code.
Even if no one is logged in (so checking out as a guest), the WHOLESALER discount code can still be applied at checkout, which is the wrong behavior.
Hi @jncwheels
To check it in details can you please share the URL to your store so that I can figure out why this happening.
Plus you can try using a discount app for the same. I have been using the Discount Depot app for one of my client in the past. It allow us to have discounted price only to a specifed group of customer, as in your case you can apply discount only to the customers having the ‘WHOLESALER’ tag and none of the other customer will be eligible for the discount.
You can set the disount on an individual product/ collection based on your customer tag .
Let me know if you find this app suitable as per your requirment.
If you are looking for a custom solution, then I would need to check you store further.
We are still having this same issue too. All discount codes work for all customers (and guests) even if they are supposed to be tied to a certain customer segment or specific individual customer. Hoping Shopify has a fix for this soon.
I had the same issue too, until I realized that if you try to insert an email that is not part of customer eligibility, the discount will be deactivated.
So if you try to apply a limited discount code with a guest user, it will work until an email is provided, so it’s impossible to proceed with the purchase using the code in those cases.
I’m attaching also a screen here to make it clearer. Hope this helps!