All things Shopify and commerce
Hi Guys -
I'm trying to set up one (1) discount code that does different actions depending on the product. For example, if applied for product A it gives 20% off but if applied to product B it gives 10% off with a minimum of 3 product Bs ordered.
Is this possible at all? Let me know if someone has achieved this with an app too.
Thank you!
Solved! Go to the solution
This is an accepted solution.
Hello,
Our app Stack Discounts Ninja will do exactly what you need.
For basic requirements you need, after installation, enable the app.
In settings, you can hide the widget (enabled by default).
Then you need to create a Code Campaign and specify code (this code will works as discount code).
Add 2 discounts under this campaign:
And
now you have 2 discounts under single code:
You may also consider changing Discount Display in settings to Line items, based on your needs:
Finally, after testing, go live.
Thanks.
Hi @SD19
Hope you are doing good, Yes can do this with the help of our app Slice 'n Save create 2 product discounts for 2 different products and combine them with each other and use it with a single discount code .
Here is the complete guide of Slice 'n Save.
Have a good day.
Hi Mani123 - I really appreciate your prompt response! I reviewed your app and it definitely looked like it could do what I needed. Unfortunately, I'm just not at a spot where I can spend >$20/mo on an app like this. Thank you again though!
@SD19 here is something special for you
https://forms.gle/xMEjU3aqPv2jnG488
go to this link and get a special offer you don't need to pay us if you fill this form
have a nice day.
This is an accepted solution.
Hello,
Our app Stack Discounts Ninja will do exactly what you need.
For basic requirements you need, after installation, enable the app.
In settings, you can hide the widget (enabled by default).
Then you need to create a Code Campaign and specify code (this code will works as discount code).
Add 2 discounts under this campaign:
And
now you have 2 discounts under single code:
You may also consider changing Discount Display in settings to Line items, based on your needs:
Finally, after testing, go live.
Thanks.
Hi Bantikyan! Thank you so much for this! I have installed the app and your instructions were crystal clear and accurate! I have solved my issue and am ready for the upcoming discount!! Thank you again!
Thank you so much for your kind words! 😊 I'm thrilled to hear that the app and instructions were helpful and that you’ve resolved your issue. Best of luck with your upcoming discount campaign—I'm confident it’ll be a success! 🎉
If you ever need any further assistance or have questions, don’t hesitate to reach out.
@SD19 Shopify's discount system is pretty limited when it comes to using a single discount code with different actions per product—especially if you’re trying to apply varying discounts or logic within the same code.
If you're open to an alternative approach, Klip Coupons: Sales and Discounts might be a good fit. Instead of relying on coupon codes, Klip displays clippable discounts directly on the product page, and each product can have its own unique discount logic.
You can:
Set different discount values per product
Control customer eligibility or usage limits
Apply the discount without needing customers to enter a code at checkout
It simplifies the experience for both you and your customers—no juggling discount codes, and the offer is clearly visible right where the purchase decision happens.
@SD19 I understand that you've already found a solution using another app. But there's a lot that we solve for that makes this worth the read for you and possibly others who stumble across this thread in the future.
I'm trying to set up one (1) discount code that does different actions depending on the product. For example, if applied for product A it gives 20% off but if applied to product B it gives 10% off with a minimum of 3 product Bs ordered.
> Here's how the configuration looks like for Product A - 20% off
> Here's how the configuration looks like for Product B - 10% off when atleast 3qty of Product B is in the user's cart.
> Here's how the second discount logic is setup within the same code.
Furthermore, you can also limit the discount to apply to X items / put a max amount that can be given through this offer.
Best wishes,
Founder
• Dollarlabs: Ultimate Discounts (5★) – If you can think of a discount, you can build it
• Dollarback: Cashback & Loyalty (5★) – Simple cashback. Powerful loyalty.
June brought summer energy to our community. Members jumped in with solutions, clicked ...
By JasonH Jun 5, 2025Learn how to build powerful custom workflows in Shopify Flow with expert guidance from ...
By Jacqui May 7, 2025Did You Know? May is named after Maia, the Roman goddess of growth and flourishing! ...
By JasonH May 2, 2025