From f7912675f4c33dfad1e2234d8c5f627b2568977c Mon Sep 17 00:00:00 2001
From: Scott Bolinger
@@ -295,7 +322,7 @@ export function CartItems({ className, children }: CartItemsProps): ReactElement
Loading your cart…
{option.attribute}: {option.values.join(', ')}
@@ -367,8 +394,9 @@ export function CartItemOptions({ className }: CartPartProps): ReactElement | nu
/** The line total. */
export function CartItemPrice({ className }: CartPartProps): ReactElement {
const { subtotal, currency } = useCartItemInternal('CartItemPrice');
+ const money = useMoney();
return (
- {subtotal === null ? 'Price unavailable' : money(subtotal, currency)}` needs a package margin and padding reset, which would beat host classes here. */}
-
{name}