Set up an add-on
1
Create the add-on product
In Shopify, create an active product published to the Online Store for each add-on, for example “Gift wrap” priced at $4.
For shipping protection that scales with the cart, create one product with a variant for each price point, such as $2, $5, and $10.
2
Add the add-on
Click Add cart add-on, enter a Label shoppers will see, and click Choose product.
3
Choose the price
Choose Product price to always sell the product’s first available variant.
Choose Percentage of cart to offer the variant whose price is closest to that share of the cart. The cart total excludes add-ons and gifts.
4
Set the default
Select Add-on is on by default to add it once when the cart has items. Shoppers can turn it off, and it is not added again in the same browser tab.
5
Enable and save
Select Enable cart add-ons, then click Save in the save bar.
In your theme editor, turn on the Appfox Bundles app embed and save your theme.
How it works for shoppers
- The toggles appear above the checkout button in the cart drawer and on the cart page.
- Turning a toggle on or off updates the cart without reloading the page.
- Add-ons are removed when the cart has no other items, or when the product is sold out.
Discounts and reporting
- Add-on lines are never part of bundle discounts.
- Analytics → Cart add-ons shows the orders, units, and revenue for each add-on. Revenue is after discounts and is separate from bundle revenue.
Test your cart drawer after enabling add-ons. Themes that heavily customize the cart footer may place the toggles differently. Use the CSS class
.appfox-cart-addons in Settings → Custom CSS to adjust their style.