Skip to content

Bundle BuilderFAQ

Why The Bundle Discount Total May Differ By A Few Cents

For Grouped Products / Product Add-ons / BXGY / FBT offers, our app applies the discount in cart/checkout through a Shopify Product Discount Function.

Even if the offer says something like:

10% off the bundle

Shopify does not always materialize that as one single discount from the full bundle total.

In practice, the discount is applied to eligible cart lines:

Product A => 10%
Product B => 10%
Product C => 10%
…

Each line discount must be rounded to the store currency precision, usually cents. The final cart total is then built from those rounded line-level discounts.

Because of that, the final amount can differ slightly from the simple marketing calculation:

bundle subtotal x discount percentage

Example

Product A: $33.33
Product B: $33.33
Product C: $33.34

Subtotal: $100.00
Discount: 10%

A simple total-level calculation says:

$100.00 - 10% = $90.00

But if Shopify calculates the discount per line:

Product A: $33.33 x 10% = $3.333 => rounded to $3.33
Product B: $33.33 x 10% = $3.333 => rounded to $3.33
Product C: $33.34 x 10% = $3.334 => rounded to $3.33

The total discount becomes:

$3.33 + $3.33 + $3.33 = $9.99

So the final total can become:

$100.00 - $9.99 = $90.01

Depending on Shopify’s rounding and remainder allocation, the result may also become $89.99 or another one-cent variation in similar cases.

Why The Widget May Show $89.98 Instead Of $90.00

If the widget is trying to preview the final discounted price before Shopify cart/checkout has fully calculated it, it has to reproduce Shopify’s line-level discount behavior as closely as possible.

Small differences can happen because of:

  • line-level rounding;
  • multiple eligible products with different prices;
  • quantity-based line totals;
  • presentment currency conversion;
  • market-specific prices;
  • Shopify’s discount allocation behavior;
  • theme/cart rendering using Shopify-calculated prices after Ajax cart update.

So an offer that looks like exactly 10% off $100.00 may visually produce something like:

$90.01
$89.99
$89.98

instead of exactly:

$90.00

The offer is still applying a 10% product discount. The small difference comes from how that percentage is converted into real money amounts on individual cart lines.