Countdown bars, free planInstall
Selling Bar

How bundle pricing works at cart and checkout

FlexiBar applies bundle prices with a Shopify Function (Cart Transform), not discount codes. Here is what shoppers see and what the function checks.

4 min readUpdated

Applies to: Free and Pro plans

FlexiBar applies bundle prices with a Shopify Function, a small piece of FlexiBar code that runs inside Shopify's cart and checkout. It uses Shopify's Cart Transform feature, so no discount code is created and the shopper does not need to enter one.

What happens when a shopper adds a bundle

  1. The shopper taps the add button in the bundle popup.
  2. FlexiBar adds the bundle to the cart as one line and records which products it contains.
  3. The shopper is taken to the cart page.
  4. Shopify runs FlexiBar's function. It turns the bundle line into the real products the shopper chose and sets their prices.
  5. The discount is shared across the products in proportion to their prices. With a free gift reward, the gift is priced at zero.

What the shopper sees

  • In the cart: the bundle at the bundle price. Many themes also show an 'Included Products' line with the names of the chosen products.
  • At checkout and in the order: the real products that make up the bundle. Because they are real products, Shopify reduces each product's inventory as normal.
  • No discount code: the saving is part of the item prices, not a code at checkout.

What the function checks

Each time the cart is calculated, the function compares the bundle with the current settings of your published Selling Bar.

  • Quantity bundle: the items must be the product set in the bar. The discount comes from the tier that matches the number of items.
  • Build your own: every item must come from your product pool (or be the gift product), and every slot must be filled. Then the percentage discount or free gift applies.

If the bar has been unpublished or deleted, or the cart no longer matches its settings (for example, you changed the product or the pool), the bundle price does not apply and the products are priced normally. On the shopper's next page load, FlexiBar removes those bundle items from the cart and shows this message: 'One or more bundle items in your cart were updated or are no longer available and were automatically removed.'

Requirements and limits

  • App embed on: the popup and the add to cart step run through the FlexiBar app embed. See how to turn on the app embed.
  • No extra setup: FlexiBar turns on its pricing function for your store when you save a Selling Bar.
  • Products: the product picker lists only products that are active and published to your online store.
  • Variants: a quantity bundle uses the one variant you selected. In a build-your-own bundle, shoppers can switch between the variants you added to the pool.
  • Stock: FlexiBar does not check stock in the popup. Shopify's normal cart rules apply when the bundle is added. If the add fails, the shopper sees 'Could not add to cart. Please try again.'
  • Discount ranges: quantity tiers from 0% to 99%; build-your-own percentage rewards from 1% to 50%.

Good to know

  • Prices in the popup are your product prices. For quantity bundles, the popup loads the product's current price when it opens.
  • Editing a published Selling Bar changes the offer for new shoppers, and bundles already in carts that no longer match are removed.
  • If the bundle price is not showing, see bundle price not applied.

Questions

Does FlexiBar create discount codes for bundles?
No. The bundle price is applied by a Shopify Function in the cart and at checkout. No code is created and shoppers do not enter one.
Is inventory reduced for each product in the bundle?
Yes. In the checkout and the order, the bundle is made up of the real products, so Shopify reduces each product's inventory as normal.
What happens to bundles in carts if I unpublish the Selling Bar?
The bundle price stops applying, and FlexiBar removes those bundle items from the cart on the shopper's next page load, with a short message.
Learn moreCheckout pricing

Still need help?

Chat with us in the FlexiBar app or email support@shopiment.io. Free human support is included on every plan.

Don't have FlexiBar yet?

FlexiBar has a free plan. Pro is $9.99 a month with a 14-day free trial.

Install FlexiBar - Free Plan