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>
+2 -2
View File
@@ -6035,8 +6035,8 @@ export const generatedEditDates = {
"references/modules/notification_service/page.mdx": "2025-03-17T15:24:05.164Z",
"references/notification_service/interfaces/notification_service.INotificationModuleService/page.mdx": "2025-07-24T08:20:50.610Z",
"app/nextjs-starter/guides/revalidate-cache/page.mdx": "2025-05-01T15:33:42.490Z",
"app/storefront-development/cart/totals/page.mdx": "2025-03-27T14:47:14.252Z",
"app/storefront-development/checkout/order-confirmation/page.mdx": "2025-03-27T14:29:45.669Z",
"app/storefront-development/cart/totals/page.mdx": "2025-08-14T15:58:30.316Z",
"app/storefront-development/checkout/order-confirmation/page.mdx": "2025-08-14T15:58:36.610Z",
"app/how-to-tutorials/tutorials/product-reviews/page.mdx": "2025-06-26T12:34:50.976Z",
"app/troubleshooting/data-models/default-fields/page.mdx": "2025-03-21T06:59:06.775Z",
"app/troubleshooting/medusa-admin/blocked-request/page.mdx": "2025-03-21T06:53:34.854Z",