Tillward Checkout Rules

How do I hide a payment method when a discount is used on Shopify?

Use the “Hide methods when discount is applied” template in Tillward Checkout Rules. When the cart has a discount applied, Shopify checkout hides the payment method you name, such as cash on delivery. Carts without a discount see every method as usual.

Discounted orders already have thin margins. Paying for a cash on delivery parcel that comes back, or a payment method with high fees, can turn a discounted sale into a loss.

Updated

The rule

Template in the app
Hide methods when discount is applied
What it does
When the cart has any discount applied, checkout hides the payment methods whose name contains the text you type. The template starts with cash on delivery.
You fill in
  • The payment method name. The template matches “Cash on Delivery”.

Example

A buyer enters a 20% welcome code. At the payment step, cash on delivery is gone and they pay by card. A buyer who checks out without a discount can still choose cash on delivery.

Steps in the app

  1. In Checkout Rules, choose “Hide methods when discount is applied” from the Rule templates gallery on the home screen.
  2. Change the payment method name if it is not cash on delivery.
  3. Check the result in the checkout simulator beside the form.
  4. Save the rule to publish it.

Before you turn it on

  • To hide the method only for larger discounted orders, add a cart subtotal condition and choose “Meet all of these”.
  • After saving, run one real checkout with a discount code and look at the payment step.

What it does not cover

The condition is true for any discount on the cart. It cannot tell a discount code from an automatic discount, and it cannot pick out one code. If you run automatic discounts, the method is hidden on those orders too.

Set it up

Install Tillward Checkout Rules from the Shopify App Store. It opens in your Shopify admin, where you follow the steps above.