Articles on: Blockify - Checkout Rules

Discount Rejection

Overview

Discount Rejection lets you prevent a discount code from being applied at checkout when an order doesn’t meet your conditions.

It works with manual discount codes—codes that customers enter themselves during checkout. When a customer applies a discount code that doesn’t qualify, the discount is rejected and a message is shown to explain why.

Discount Rejection is useful when you want to:

  • Protect your margin from unwanted discount usage
  • Restrict discounts based on checkout conditions such as customer email, collections,..
  • Reduce discount abuse without blocking customers from completing checkout
  • Show error message after reject

Automatic discounts aren’t supported because they apply silently and don’t involve customer input. Since there’s no “failed” action from the customer, there’s no place to display a rejection message.


How to use Discount Rejection

Follow these steps to set up Discount Rejection for your discount codes.


Step 1: Create a Discount Rejection rule

  1. Open the app and go to Checkout Rules
  2. Click on Discount Rejection

Step 2: Select the discount code

Choose the discount code(s) you want to control with this rule. The rule will apply only to the discount codes you select.

Note: Only manual discount codes created in Shopify Admin are supported, automatic discounts can’t be selected.



Step 3: Select the rule condition

Set the conditions that determine when a discount code should be rejected.

Conditions are checked at checkout and can be based on:

  • Customer
  • Cart
  • Product
  • Date/Time

You can combine multiple conditions using AND / OR logic.


Step 4: Enter error message

Enter the message customers will see when the discount code is rejected.

Use this message to:

  • Explain why the discount doesn’t apply
  • Encourage customers to adjust their checkout to qualify

Example:

“Add 1 more item to qualify for this discount.”



Updated on: 22/01/2026

Was this article helpful?

Share your feedback

Cancel

Thank you!