docs: fix subtotal description in storefront guides (#13212)
This commit is contained in:
@@ -10301,7 +10301,7 @@ This property is only available after [Medusa v2.1.2](https://github.com/medusaj
|
||||
|
||||
The `float` method defines a number property that allows for values with decimal places.
|
||||
|
||||
Use this property type when it's less important to have high precision for numbers with large decimal places. Alternatively, for higher percision, use the [bigNumber property](#bignumber).
|
||||
Use this property type when it's less important to have high precision for numbers with large decimal places. Alternatively, for higher precision, use the [bigNumber property](#bignumber).
|
||||
|
||||
For example:
|
||||
|
||||
@@ -21131,6 +21131,14 @@ To manually connect to the Medusa MCP server in Cursor, add the following to you
|
||||
|
||||
### VSCode
|
||||
|
||||
To manually connect to the Medusa MCP server in Claude Code, run the following command in your terminal:
|
||||
|
||||
```sh
|
||||
claude mcp add --transport http medusa https://docs.medusajs.com/mcp
|
||||
```
|
||||
|
||||
### Claude Code
|
||||
|
||||
***
|
||||
|
||||
## Plain Text Documentation
|
||||
@@ -56382,7 +56390,7 @@ If you make changes to the `createInvoiceContent` method and you want to test it
|
||||
|
||||
## Step 8: Download Invoice in Storefront
|
||||
|
||||
In this step, you'll customize the Next.js storefront to allow customers to download an order's invoice either from its confirmation or detail pages.
|
||||
In this step, you'll customize the Next.js Starter Storefront to allow customers to download an order's invoice either from its confirmation or detail pages.
|
||||
|
||||
The `OrderDetails` component available in `src/modules/order/components/order-details/index.tsx` is used on both the order confirmation and detail pages. So, you only need to customize this component.
|
||||
|
||||
@@ -81387,6 +81395,7 @@ To learn more about the commerce features that Medusa provides, check out Medusa
|
||||
- [getApiKeyHeader\_](https://docs.medusajs.com/references/js_sdk/admin/Client/methods/js_sdk.admin.Client.getApiKeyHeader_/index.html.md)
|
||||
- [getJwtHeader\_](https://docs.medusajs.com/references/js_sdk/admin/Client/methods/js_sdk.admin.Client.getJwtHeader_/index.html.md)
|
||||
- [getPublishableKeyHeader\_](https://docs.medusajs.com/references/js_sdk/admin/Client/methods/js_sdk.admin.Client.getPublishableKeyHeader_/index.html.md)
|
||||
- [getToken](https://docs.medusajs.com/references/js_sdk/admin/Client/methods/js_sdk.admin.Client.getToken/index.html.md)
|
||||
- [getTokenStorageInfo\_](https://docs.medusajs.com/references/js_sdk/admin/Client/methods/js_sdk.admin.Client.getTokenStorageInfo_/index.html.md)
|
||||
- [getToken\_](https://docs.medusajs.com/references/js_sdk/admin/Client/methods/js_sdk.admin.Client.getToken_/index.html.md)
|
||||
- [initClient](https://docs.medusajs.com/references/js_sdk/admin/Client/methods/js_sdk.admin.Client.initClient/index.html.md)
|
||||
|
||||
@@ -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>
|
||||
|
||||
@@ -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",
|
||||
|
||||
Reference in New Issue
Block a user