Hide COD when a discount or gift card is applied

Updated · ACOD (E-TRADE PARTNER)

Two different mechanisms: gift cards already hide COD — Shopify hides all manual payment methods when a gift card is applied, no setup needed. For discount codes, add ACOD's discount condition: when any discount is active on the order, COD is hidden and the customer pays prepaid.

Gift cards — nothing to configure

When a customer applies a gift card, Shopify itself removes all manual payment methods from checkout, including Cash on Delivery. This is platform behavior — it can't be turned off (or on) by any app, so if your goal was “no COD with gift cards”, you already have it, and if a customer reports COD disappearing, an applied gift card is a likely cause.

Discount codes — one ACOD condition

  1. ACOD → Limit Cash on Delivery → add the discount condition.
  2. When a discount is detected on the order (the total is below the pre-discount subtotal, or any line is discounted), COD is hidden.
  3. Verify with testing mode: apply a code (COD gone), remove it (COD back).

Note on automatic discounts

The condition detects any active discount — including automatic ones. If you run a permanent automatic discount and only want code-based discounts to block COD, that split isn't currently expressible; talk to us in the in-app chat about your case.

Frequently asked questions

Why do stores block COD on discounted orders?

Discounted COD orders combine the store's thinnest margin with COD's refusal risk and handling cost — many merchants reserve discounts for prepaid to keep the economics safe.