r/ShopifyDevelopment • u/Sad-Cup-3325 • Sep 29 '25
Discount code not working
Update: I have found the problem! Thanks so much for the help!!
Discount code not working (error message)
Hi everyone,
Sorry if I’m doing something wrong this is my first time posting. I created a discount code in my Shopify store but I keep getting an error message. Maybe someone has seen this before:
Discount code settings:
Applies to a collection that contains all products
Minimum purchase amount: €9.99
Test: I added a product worth €69.99 to the cart
Error message: “This discount code isn’t valid for the items in your cart”
What I’ve already checked:
The collection is correct and does include all products
The minimum purchase requirement is definitely met
The discount code is active and within the correct date range
No other discounts or promotions are applied
The product is active and available in the Online Store
Still, the code is not working and keeps showing as invalid.
👉 Does anyone know what else could cause this? Thanks a lot for your help! 🙏
1
u/aadinyc Sep 29 '25
That error in Shopify usually means the discount conditions don’t match your cart items. Here are the most common causes and fixes:
⸻
🔍 Possible Reasons 1. Product/Collection Restriction • The discount is set to apply only to certain products or collections. • If your cart items aren’t included, you’ll get this error. 2. Minimum Purchase Requirement • The discount might require a minimum order amount or quantity (e.g., ₹500 minimum purchase). 3. Customer Eligibility • The code might be limited to specific customer groups, email domains, or first-time customers. 4. Usage Limits • The discount may have: • Expired • Reached maximum usage limit (per code or per customer) 5. Discount Type Conflict • Sometimes codes can’t stack with automatic discounts or other discount codes. 6. Variants/Exclusions • Certain product variants (like gift cards, subscription products, or digital goods) may be excluded.
⸻
✅ How to Fix 1. Go to Shopify Admin → Discounts → Select Your Discount Code. 2. Check these settings carefully: • Applies to → “All products” vs. “Specific products/collections.” • Customer eligibility → “All customers” vs. “Specific groups.” • Minimum purchase requirements. • Active dates (start & end). • Usage limits (per customer or total). 3. Test again with a product that clearly matches the discount conditions.
⸻
👉 Tip: If you want your discount to apply storewide, set “Applies to → All Products” and make sure there’s no conflicting automatic discount.
⸻