diff --git a/assets/js/src/utils/index.js b/assets/js/src/utils/index.js index 789c209c..2aa222b2 100644 --- a/assets/js/src/utils/index.js +++ b/assets/js/src/utils/index.js @@ -21,7 +21,8 @@ export const getProductFieldObject = ( product, quantity ) => { ...getProductCategories( product ), quantity: product.quantity ?? quantity, price: formatPrice( - product.prices.price, + // Use line total for bundled products, if available. + product.totals?.line_total || product.prices.price, product.prices.currency_minor_unit ), ...variantData,