Hey everyone! I’m setting up my Shopify shop and running into a frustrating issue. I need to create discount codes that work only for certain products, but Shopify doesn’t seem to have this feature built in. It’s crazy that this basic functionality is missing from their platform. I’ve been digging through their documentation but can’t find a straightforward way to do this. Has anyone figured out a workaround using Shopify’s API or apps? Any help would be amazing!
Same issue here when I started. Product discounts work fine, but there’s a catch - you need certain Shopify plans for the advanced options. Basic Shopify limits some granular controls. Product codes get messy with variants too. Learned this the hard way when customers said codes didn’t work on specific sizes or colors. When setting up discounts, select all variants, not just the parent product. Use the preview feature before going live - it’ll catch these problems.
Had the same nightmare launching my store last year. Product-specific discounts work fine, but here’s what nobody tells you - don’t modify discount codes after customers have them. Existing codes break. Learned this the hard way during a flash sale when half my customers’ codes died. Also, minimum purchase requirements mess with product-specific discounts. Shopify’s validation goes haywire when you mix these. Test your discount codes yourself before going live. Seriously. I caught a Black Friday bug where discounts hit shipping costs instead of products. Could’ve been a disaster.
Yeah, Shopify does support product-specific discounts - it’s just hidden. When creating a discount code, look for “Applies to” and pick “Specific products” instead of “Entire order”. Then you can select exactly which products get the discount. I spent weeks figuring this out and almost went hunting for third-party apps. The interface sucks, but it’s simple once you know where to look. Just test your codes first - I’ve had discounts fail because of inventory settings.
here’s another quick tip! try using collections instead of dealing with each prod individually. create a hidden collection with the products you want for discounts, then apply your discount to that collection. way easier if you got lots of items!