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 how Blockify Checkout should match the discount codes. In the Discount compare type dropdown, select one of these:

  • [Exact match option]: Pick the specific manual discount codes created in Shopify Admin that this rule should control. Only the codes you select are affected.
  • Contains: Type a piece of text that appears in the codes you want to block, then click Add. Any discount code that contains that text will be rejected when a customer enters it at checkout.

If you choose Contains, you can add more than one text. Each one appears as a tag below the field, and you can click the x on a tag to remove it. For example, if you add FB and IG, codes like FB10, FB-WELCOME and SUMMER-IG will be rejected, including codes you create later as long as the code contains FB or IG.
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: 17/11/2026

Was this article helpful?

Share your feedback

Cancel

Thank you!