Skip to content

Commit 6380708

Browse files
authored
Updated checkout to always use line item total (#107484)
1 parent 6058dbc commit 6380708

File tree

1 file changed

+1
-4
lines changed

1 file changed

+1
-4
lines changed

packages/wpcom-checkout/src/checkout-line-items.tsx

Lines changed: 1 addition & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -1399,10 +1399,7 @@ function CheckoutLineItem( {
13991399
isSmallestUnit: true,
14001400
stripZeros: true,
14011401
} );
1402-
const itemSubtotalInteger =
1403-
isAkPro500Cart && product.quantity
1404-
? product.item_subtotal_integer / product.quantity
1405-
: product.item_subtotal_integer;
1402+
const itemSubtotalInteger = product.item_subtotal_integer;
14061403

14071404
const actualAmountDisplay = formatCurrency( itemSubtotalInteger, product.currency, {
14081405
isSmallestUnit: true,

0 commit comments

Comments
 (0)