How to block discount codes for products on sale?

To prevent discount codes from applying to products on sale follow these steps:

  1. Create a new automated collection called "Eligible for discount codes" and select condition "Compare at price is empty" for it.

  2. Open your discount codes and in "Applies to" section select collection "Eligible for discount codes".

This way discount codes won't apply to products on sale. Before creating automated collection you might need to create a task to reset Compare at price for products not on sale. This will remove some existing values from Compare at price field.

This approach one limitation: it only works with Product discount with type Amount off products. Unfortunately, there's no way in Shopify to do the same discount code restriction for other discount types.

Did this answer your question? Thanks for the feedback There was a problem submitting your feedback. Please try again later.

Still need help? Contact Us Contact Us