How to Offer Free Shipping on Product Bundles
You can give customers free shipping when they buy a bundle. After a customer adds the bundle to the cart, a short script applies a Shopify free shipping code. This is a discount code, not a rule linked to the bundle, so read What this doesn't cover below before you set it up.
Free shipping thresholds are also one of the seven tactics in our guide on how to increase average order value on Shopify.
1. Create a free shipping code
- In Shopify admin, go to Discounts and click Create discount.
- Choose Free shipping.
- Select Discount code and enter a code, such as BUNDLEFREESHIPPING. Anyone who knows the code can use it, so pick one that's hard to guess.
- Optional: under Minimum purchase requirements, set Minimum purchase amount to your bundle price. Free shipping then stops if the cart total drops below that amount.
- Click Save.
Free shipping cuts into your margin on every order. Check what a bundle earns after fees with our Shopify profit calculator.
2. Apply the code when a bundle is added to the cart
- In Shopify admin, go to Online Store → Themes and click Customize.
- Open one of your bundle pages and select the Bundle information block.
- Set After adding bundle to cart to Do nothing. The script opens the cart itself, after it applies the code. If you see Redirect to cart after adding bundle to cart, leave it off.
- In the same block, paste this code into Custom Liquid:
<script>
document.addEventListener('bundly:afterAddBundleToCart', function (event) {
if (!event.detail.success) return;
window.location.href = window.Shopify.routes.root + 'discount/BUNDLEFREESHIPPING?redirect=/cart';
});
</script>
- Replace BUNDLEFREESHIPPING with your code.
- Click Save.
The code runs for every bundle that uses this bundle page. If you want free shipping for some bundles only, contact us.
What this doesn't cover
- Removing the bundle. The code stays in the cart when a customer removes the bundle, so the order still ships free. A minimum purchase amount reduces this, but it can't check which products are in the cart.
- Typing the code. A customer who knows the code can enter it at checkout, with or without a bundle.
- Free shipping for specific products. Shopify's built-in free shipping discounts apply to the whole order and can't be limited to products. If free shipping must turn on and off with the bundle, you need a shipping discount app that supports product conditions.
Need help? Reach out to us at support@bundly.app and we'll be happy to assist.