diff --git a/apps/store/src/components/CartInventory/CartInventory.helpers.tsx b/apps/store/src/components/CartInventory/CartInventory.helpers.tsx index e4fd5e8e50..da83833014 100644 --- a/apps/store/src/components/CartInventory/CartInventory.helpers.tsx +++ b/apps/store/src/components/CartInventory/CartInventory.helpers.tsx @@ -46,7 +46,7 @@ export const getTotal = (shopSession: ShopSession) => { } export const getCrossOut = (shopSession: ShopSession) => { - const hasDiscount = shopSession.cart.redeemedCampaigns.length !== 0 + const hasDiscount = shopSession.cart.cost.discount.amount > 0 if (!hasDiscount) return undefined return shopSession.cart.cost.gross diff --git a/apps/store/src/components/CartInventory/CartInventory.tsx b/apps/store/src/components/CartInventory/CartInventory.tsx index 8492baf3a1..28d448c6bd 100644 --- a/apps/store/src/components/CartInventory/CartInventory.tsx +++ b/apps/store/src/components/CartInventory/CartInventory.tsx @@ -89,7 +89,7 @@ const getCartTotal = (cart: CartFragmentFragment) => { } const getCartCrossOut = (cart: CartFragmentFragment) => { - const hasDiscount = cart.redeemedCampaigns.length !== 0 + const hasDiscount = cart.cost.discount.amount > 0 if (!hasDiscount) return undefined switch (cart.redeemedCampaigns[0].discount.type) {