How-to: Exclude products on sale from Shopify discount codes
In broad steps you must:
- Deactivate your Disco sales.
- Create a collection for all products not on sale (set it to include products with tag "not-on-sale").
- Tag all products "not-on-sale".
- Modify your discount codes to only apply to the "not-on-sale"-collection.
- Modify your Disco sales to remove tag "not-on-sale" from products when the sale starts (and add the tag again when sale ends).
The guide below shows you how to do exactly that, resulting in excluding Disco discounted products from your discount codes.
Repeat steps 14-18 for each discount code in your store.
22 STEPS
NB: Ensure that you have deactivated all sales in Disco. If not, go ahead and deactivate them - you can activate them again afterwards.
1. The first step is to open All products and check the checkbox to select all.
2. Click Select all 50+ products in your store.
3. Click More actions.
4. Scroll down and click Add tags.
5. Enter tag (e.g. not-on-sale) and click Save
6. Click Collections
7. Click Create collection
8. Enter a Title.
9. Click Automated
10. Click Condition 1 value
11. Enter not-on-sale
12. Click Save
13. Click Discounts
14. Create or modify a Discount code
15. Click Specific collections
16. Select the collection you just created.
17. Click Add
18. Scroll down and click Save discount code
19. Go to Disco and create a new sale.
20. Scroll down and check Remove tag from products on sale.
21. Enter the tag you added previously (e.g. not-on-sale).
22. Enter remaining information about the sale and press Create sale.
Now, the products in the Disco sale are removed from the collection and effectively removed from the discount code you created. When the Disco sale ends, the products will be added back into the collection.