1. Choose what customers must buy
- Go to Discounts → New discount → Buy X, get Y discount.
- Enter a Discount name and choose Manual.
- In Customer buys, set Minimum quantity and the qualifying Purchase type.
- Choose all products, specific products, or specific collections to count toward that quantity.

2. Add the free gift
Under Customer gets, click Add one-time gift, choose Free, and select the gift product or collection and quantity. The gift must be a one-time purchase product. If your offer also discounts the qualifying products, configure the reward in Customer gets. If you only want to give a gift, leave the qualifying-product reward at 0% and configure the gift separately.
3. Sync and activate the discount
- Under Shopify Checkout, enable Sync this discount to Shopify.
- Choose any allowed discount combinations and eligible customer segments. If the offer requires specific plans, select them under Eligibility.
- Optionally set a Schedule, then save.
- Confirm that the discount is Active before launching. If it is inactive, click Activate in Firmhouse.
4. Create the code
- Go to Discount codes → Create discount code.
- Enter the code customers should use and its total usage limit.
- Under Discount to apply, select the Manual Buy X, get Y discount you saved.
- Save the code.
5. Test Shopify checkout
- Add the qualifying products to the cart.
- Add the gift as a one-time purchase.
- Go to checkout and enter the code.
- Confirm that the gift line is free and that other products receive only the discounts you intended.
- Test a cart that does not meet the required quantity.