Skip to main content

How to Block Checkout When an Order Is Paid Entirely with a Gift Card in Checkout Plus

Use Checkout Rules in Checkout Plus to block checkout when applied gift cards cover the full order total, so a promo isn't paid off entirely with gift cards.

D
Written by Darian Bia

During a sale, a shopper can apply gift cards until the order total is covered. If you'd rather not let a promo or discount go through that way, Checkout Rules in Checkout Plus can block checkout when applied gift cards cover the full order total.

This guide walks you through the Paid Entirely with Gift Card condition in Validator mode, set to Order rules (no UI). You'll also set the Order rules error message the shopper sees when checkout is blocked. Gift Card Amount and Number of Gift Cards are also available if you need a different rule.

Before you start

  • Checkout Plus installed

  • A Shopify Plus store

  • A promo or discount you don't want paid off entirely with gift cards

  • A few minutes to test checkout

Step 1: Open Checkout Rules

  1. In your Shopify admin, open Apps and then Checkout Plus.

  2. Under Available App Blocks for Checkout Page, find Checkout Rules and select Manage.

Checkout Rules card under Available App Blocks for Checkout Page, with the Manage button

Step 2: Choose the Editing Profile

Open the Editing Profile dropdown and pick the profile you want to edit. The helper text says there are 5 independent profiles, and changes apply only to the selected one.

Editing Profile dropdown, with helper text that changes apply only to the selected profile. The profile name in the screenshot is just an example.

Step 3: Set Validator mode to Order rules (no UI)

Under Mode, set Validator mode to Order rules (no UI).

The helper text says age verification shows an age field. Order rules (no UI) blocks checkout when a matching discount is applied and the conditions below are met. You can still leave Discount trigger blank so the conditions are always evaluated, which is covered in the next step.

Mode section with Validator mode set to Order rules (no UI), which is highlighted

Step 4: Leave Discount trigger blank, or tie the rule to discounts

To always enforce this gift card rule, leave Discount trigger blank. The helper text says to use Any Discount, or leave codes blank to always evaluate conditions.

If you only want the rule tied to discounts, use Discount trigger so the block conditions are evaluated when those discounts are applied.

Discount trigger section, with helper text to use Any Discount or leave codes blank to always evaluate conditions

Step 5: Write the Order rules error message

Under Error message, enter the text you want shoppers to see in Order rules error message.

The helper text says this is shown at checkout whenever these rules block the order, including discount triggers, gift card amounts, the number of gift cards, and orders paid entirely with a gift card.

Error message section, with the Order rules error message field highlighted

Step 6: Add the Paid Entirely with Gift Card condition

  1. Open Block conditions.

  2. Select Add condition.

  3. Open Condition type and pick Paid Entirely with Gift Card.

Condition type dropdown in Block conditions, with Paid Entirely with Gift Card, Gift Card Amount, and Number of Gift Cards highlighted

This condition blocks checkout when applied gift cards cover the full order total. Partial gift card payments are allowed. Shipping must be selected first when the order needs delivery.

Block conditions with Condition type set to Paid Entirely with Gift Card, plus Match logic set to All conditions must pass (AND)

Use Match logic to choose how conditions work together. The helper text says checkout is blocked if all conditions match (AND) or if any condition matches (OR). In the screenshot above, Match logic is set to All conditions must pass (AND). If you only have this one condition, that setting is enough.

At the top of Block conditions, the helper text also says checkout is blocked when these conditions match and the discount trigger matches, or always if no discount trigger is set.

Step 7: Save your settings and add the block with Open Editor

When you're done, save your settings.

Then use Open Editor to add this block to checkout. A Setup tip says to use Open Editor to add this block to checkout after you save your settings. Order rules mode still needs the block placed.

Setup tip: Use Open Editor to add this block to checkout after you save your settings. Order rules mode still needs the block placed.

Step 8: Test what the shopper sees

When the conditions match, checkout is blocked and the shopper sees the message you entered in Order rules error message.

Test one checkout where gift cards cover the full order total, and one where a gift card only covers part of the total. If the order needs delivery, select shipping first.

Tips

  • Paid Entirely with Gift Card only blocks checkout when applied gift cards cover the full order total. Partial gift card payments are still allowed.

  • If the order needs delivery, shipping must be selected first. The condition can't evaluate the full total until shipping is chosen.

  • Changes apply only to the selected Editing Profile. There are 5 independent profiles, so confirm you're editing the right one.

  • Leave Discount trigger blank to always evaluate conditions, or use it if you only want the rule tied to discounts.

  • After you save your settings, use Open Editor to add the block to checkout. Order rules mode still needs the block placed.

  • Gift Card Amount and Number of Gift Cards are also in the Condition type list if you need a different rule.

Troubleshooting

Problem

What to try

Checkout isn't blocked when gift cards cover the full total

Confirm Condition type is Paid Entirely with Gift Card. If the order needs delivery, select shipping first. If you have more than one condition, check Match logic.

The rule never runs at checkout

Use Open Editor to add this block to checkout after you save your settings. Order rules mode still needs the block placed.

I edited the wrong profile

Open Editing Profile and pick the profile you want to change. There are 5 independent profiles, and changes apply only to the selected one.

The rule only runs when a discount is applied

If Discount trigger isn't blank, the block conditions are evaluated when those discounts are applied. Leave codes blank to always evaluate conditions.

A partial gift card payment is blocked

This condition allows partial gift card payments. It only blocks checkout when gift cards cover the full order total.

I can't find Checkout Rules

On the Checkout Plus home, look under Available App Blocks for Checkout Page, then select Manage.

Need help? Message us from the app (click Contact Us at the bottom of the page) and tell us about the checkout rule you're setting up.

Ready to try it? Install Checkout Plus from the Shopify App Store.

Did this answer your question?