Gift Discount Code
Unlock a free gift when the shopper applies a discount code.
A Gift discount code offer links one or more existing Shopify discount codes to gift products. When a shopper applies one of those codes in the cart, the app adds the gifts to the cart (automatically, or lets the shopper choose) and makes them free.
Example: you link the code GIFTFORYOU to a tote bag. A shopper enters GIFTFORYOU in the cart: the code's own Shopify discount applies as usual, and the tote bag is added for free.
Before you start:
Create the discount code in Shopify admin › Discounts. Use an Amount off products or Amount off order code. The app uses the code's name and its product and cart conditions; its other rules are ignored.
Turn on the Discount For Gift app embed in your theme. See Enabling Tek Labs app.
In the app, go to Offers › Create › Gift by discount code.
Step 1 · Offer

Offer information
Offer name: for your reference. Below it, a one-line summary reads, for example, "Enter GIFTFORYOU → get Tote bag free".
Discount codes
Click Browse discount codes to pick one or more existing codes, or Create in Shopify to make a new one first.
The table shows each code's Discount code, Type and Condition. Remove a code with ✕.
Any of the linked codes unlocks the gift. Expired codes can't be selected, and you'll see a warning if a linked code expires in Shopify.
Customer gets

Auto - Add Gifts (default): gifts are added to the cart automatically. Under Auto-add settings choose:
Add first available product: adds the first in-stock gift in your list. Set how many with Number of gift.
Add all product from the list: adds every gift, with a quantity for each.
Customer choose: shoppers pick their gift in the cart drawer and cart page with Fixed product quantity per gift. Tick Number of gift to limit how many different gifts they can choose. The app notes that gift selection at the checkout page is available on the paid plan only.
Select the gift products with Browse or the search field.
Other behaviors
Limit number of times this discount can be use per order. By default, each linked code a shopper applies unlocks the gifts again, so two linked codes give twice the gifts. Set a limit to cap the gifts per order.
Step 2 · Display

All three widgets are on by default:
Pop Up & Floating button
A floating button that opens a popup showing the code with a Copy button.
All pages, or Home, Collection, Product, Cart and Specific pages.
Discount box
A code field with an Apply button.
Cart drawer, Cart page.
Gift selector
A window to pick gifts when the offer uses Customer choose.
Cart drawer, Cart page, Checkout page.
Style these widgets in Styling › Floating Button & Notification Modal and Discount Box & Gift Slider. Edit their texts in the Discount code tab of Translations.
Step 3 · Advanced

Combinations: choose which discounts the free-gift discount can combine with: Product discount, Order discounts, Shipping discounts (all ticked by default).
Go live
Save the offer and check the Summary: which codes redeem it, which gifts are given, the per-order limit, the widgets and the combinations. Then use Activate or Schedule. See Managing offers.
Last updated
