Sushinet

How to Hide Shipping When a Shopify Cart Is Gift Cards Only

Hide shipping options at Shopify checkout when the cart contains only digital gift cards — the native workarounds that don't quite fit, and the plain-English rule that does.

how-to

A cart that's nothing but a digital gift card has nothing to ship, but checkout can still ask the customer to pick a shipping method — an extra, confusing step for an order that's about to be delivered by email, not a courier.

The native way

Shopify's own gift card product type is generally handled as non-physical, and Shopify's checkout tries to skip the shipping step when every item in the cart is like that.

Where it breaks

That handling assumes every gift-card-shaped product in your catalogue is set up exactly the way Shopify expects, which isn't always true:

  • Custom "digital gift card" products built as a regular product (rather than Shopify's native gift card type) don't automatically get the same non-physical treatment.
  • Mixed carts need care. A cart with a gift card and a physical product genuinely needs shipping for the physical item — the fix has to target gift-cards-only carts specifically, not just "contains a gift card."
  • No visibility into which carts it actually affects until a customer hits the confusing step and abandons or asks support.

The safe way: a rule that checks the whole cart

A checkout rule can check whether every item in the cart is a gift card and hide shipping only then:

If cart contains only gift cards → hide all shipping options.

Because it's a rule:

  • Mixed carts are unaffected. The condition targets gift-cards-only carts specifically, so a cart with a physical item alongside a gift card still shows real shipping options.
  • Covers custom gift-card products too. The condition isn't limited to Shopify's native gift-card type, so a store-built digital-gift-card product is covered the same way.
  • Preview and monitor. See the checkout with a gift-card-only cart before it's live, and monitor mode confirms how many real orders it would affect.

Which should you use?

If every gift card in your catalogue uses Shopify's native gift-card product type and nothing custom, the native handling may already be enough — worth checking a real gift-card-only cart at your own checkout first. If you sell a custom digital-gift-card product, or want certainty rather than an assumption, a rule that checks the cart directly is what closes that gap, and Ruleproof lets you write it as a sentence, preview it, and monitor it before it changes a real checkout.

Do this without touching code

Ruleproof builds every rule on this page as a plain sentence, previews it on a test shopper, and watches it against your real orders before it changes one — then switches on.

Questions

Why would a gift-card-only cart show shipping options at all?

Because a digital gift card is still a genuine product line item as far as Shopify's checkout is concerned — it has a price, a quantity, and sits in the cart the same way a physical product does. Unless something specifically recognises that the product type is non-physical and hides the shipping step for that case, checkout can still proceed as though there's something to ship, asking a customer to choose a shipping method for an order that has nothing that will ever go in a box. That's a confusing, slightly broken-feeling moment for a customer who's just trying to buy a gift card as a quick, simple purchase — an extra decision that doesn't map onto anything real, at the exact point in checkout where friction is most likely to cause someone to abandon the purchase entirely rather than push through a step that makes no sense to them.

Can I mark gift cards as requiring no shipping in Shopify natively?

Shopify's own native gift card product type is typically set up as non-physical from the start, and checkout generally recognises that and skips the shipping step accordingly — which covers the straightforward case well. Where it falls short is anything that doesn't exactly match that native type: a store-created 'digital gift card' built as a regular custom product (because a merchant needed something the native gift card type couldn't offer, like custom design fields) doesn't automatically inherit the same non-physical handling, and a cart mixing a genuine gift card with a physical item is a different situation entirely that native handling isn't trying to solve. Both of those fall outside the automatic case, and it's worth checking your own store's actual checkout with a real gift-card-only cart before assuming the native behaviour has you covered, since it depends entirely on how your specific gift card product is set up.

What about a cart with a gift card AND a physical product?

That cart still needs a genuine shipping choice for the physical item, so hiding shipping the moment a cart contains any gift card at all would be wrong — it would strip the shipping step from an order that absolutely still needs one. The rule needs to target carts that are gift-cards ONLY, checking that every single line item in the cart is a gift card rather than checking whether the cart merely CONTAINS one among other things. That distinction is easy to get backwards if you're not deliberate about it: a naive rule written as 'cart contains a gift card → hide shipping' would incorrectly strip shipping from a mixed cart the moment you add a $10 gift card alongside a $200 physical order, which is a considerably worse failure than the confusing-but-harmless extra step this whole rule exists to remove in the first place.

Does this affect how the gift card itself is delivered?

No — gift card delivery, which is usually handled by email once the order completes, is a completely separate mechanism from checkout's shipping-method step, and this rule doesn't touch it at all. Hiding the shipping-method question at checkout only removes an irrelevant decision the customer would otherwise have to make for an order that has nothing physical to ship; it has no bearing on how, when, or whether the gift card itself actually gets delivered to the recipient afterward, which continues to work exactly as it did before you added the rule. The two are worth keeping conceptually separate: one is about what a customer sees and chooses DURING checkout, the other is about what happens AFTER the order is placed and paid for, and a rule scoped to the first has no way to interfere with the second even if you wanted it to.

Related guides

Ready to try it?

Ruleproof builds every rule on this page as a plain sentence, previews it on a test shopper, and watches it against your real orders before it changes one — then switches on.

← All checkout rule guides · See what Ruleproof does