docs: fix subtotal description in storefront guides (#13212)

This commit is contained in:
Shahed Nasser
2025-08-15 10:02:16 +03:00
committed by GitHub
parent ab795bb0a2
commit 9b37a2c9f4
4 changed files with 17 additions and 8 deletions
@@ -35,7 +35,7 @@ The fields that are most commonly used are:
`subtotal`
</Table.Cell>
<Table.Cell>
The cart's subtotal excluding taxes and shipping, and including discounts.
The cart's subtotal excluding taxes, and including total of items, shipping, and discounts.
</Table.Cell>
</Table.Row>
<Table.Row>
@@ -117,7 +117,7 @@ export default function CartTotals() {
{cart && (
<ul>
<li>
<span>Subtotal (excl. shipping & taxes)</span>
<span>Subtotal (excl. taxes)</span>
<span>{formatPrice(cart.subtotal ?? 0)}</span>
</li>
<li>
@@ -163,7 +163,7 @@ An order has various fields for the order totals, which you can check out in the
`subtotal`
</Table.Cell>
<Table.Cell>
The order's subtotal excluding taxes and shipping, and including discounts.
The order's subtotal excluding taxes, and including total of items, shipping, and discounts.
</Table.Cell>
</Table.Row>
<Table.Row>
@@ -214,7 +214,7 @@ return (
<span>Order Totals</span>
<ul>
<li>
<span>Subtotal (excl. shipping & taxes)</span>
<span>Subtotal (excl. taxes)</span>
<span>{formatPrice(order.subtotal ?? 0)}</span>
</li>
<li>