Can a discount code typed at checkout add a gift?

Last updated: November 4, 2026

Not directly. Shopify checkout does not accept discount codes that only provide a free gift if the gift is not already in the cart.

There is however a workaround for Shopify Plus. You can use an All-in-One discount with Abra’s checkout extension to make this possible:

  1. Create an All-in-One discount that includes your Gift with Purchase offer.

  2. Add a first tier that every customer qualifies for, such as a small order-level discount ($0.01 off) or free shipping that matches your existing shipping threshold.

  3. Add your free gift offer to the promotion.

  4. Enable Abra’s Gift & Tier Banner in checkout.

When a customer enters the discount code at checkout, Shopify accepts it because an immediately applicable discount is available. Abra then activates the promotion, allowing the Gift & Tier Banner to display the available free gift for the customer to add.

For other Shopify plans discount codes entered directly at checkout cannot trigger free gift selection. Instead, use an Abra Link or public promotion to activate the offer on your storefront before checkout.

Related articles: Extend Your Promotion into Checkout with Extension Blocks