docs: add how-to guides for retrieving cart and order totals (#13044)

This commit is contained in:
Shahed Nasser
2025-07-25 15:42:34 +03:00
committed by GitHub
parent 713dbe442c
commit 9643769127
19 changed files with 572 additions and 305 deletions
+3 -1
View File
@@ -6561,5 +6561,7 @@ export const generatedEditDates = {
"app/recipes/personalized-products/example/page.mdx": "2025-07-22T08:53:58.182Z",
"app/how-to-tutorials/tutorials/preorder/page.mdx": "2025-07-18T06:57:19.943Z",
"references/js_sdk/admin/Order/methods/js_sdk.admin.Order.archive/page.mdx": "2025-07-24T08:20:57.709Z",
"references/js_sdk/admin/Order/methods/js_sdk.admin.Order.complete/page.mdx": "2025-07-24T08:20:57.714Z"
"references/js_sdk/admin/Order/methods/js_sdk.admin.Order.complete/page.mdx": "2025-07-24T08:20:57.714Z",
"app/commerce-modules/cart/cart-totals/page.mdx": "2025-07-25T10:23:59.783Z",
"app/commerce-modules/order/order-totals/page.mdx": "2025-07-25T10:23:55.842Z"
}
@@ -127,6 +127,10 @@ export const filesMap = [
"filePath": "/www/apps/resources/app/commerce-modules/auth/workflows/page.mdx",
"pathname": "/commerce-modules/auth/workflows"
},
{
"filePath": "/www/apps/resources/app/commerce-modules/cart/cart-totals/page.mdx",
"pathname": "/commerce-modules/cart/cart-totals"
},
{
"filePath": "/www/apps/resources/app/commerce-modules/cart/concepts/page.mdx",
"pathname": "/commerce-modules/cart/concepts"
@@ -303,6 +307,10 @@ export const filesMap = [
"filePath": "/www/apps/resources/app/commerce-modules/order/order-change/page.mdx",
"pathname": "/commerce-modules/order/order-change"
},
{
"filePath": "/www/apps/resources/app/commerce-modules/order/order-totals/page.mdx",
"pathname": "/commerce-modules/order/order-totals"
},
{
"filePath": "/www/apps/resources/app/commerce-modules/order/order-versioning/page.mdx",
"pathname": "/commerce-modules/order/order-versioning"
@@ -1135,6 +1135,14 @@ const generatedgeneratedCommerceModulesSidebarSidebar = {
"path": "https://docs.medusajs.com/resources/examples/guides/quote-management",
"children": []
},
{
"loaded": true,
"isPathHref": true,
"type": "link",
"path": "/commerce-modules/cart/cart-totals",
"title": "Retrieve Cart Totals",
"children": []
},
{
"loaded": true,
"isPathHref": true,
@@ -6125,6 +6133,14 @@ const generatedgeneratedCommerceModulesSidebarSidebar = {
"title": "Implement Re-Order",
"path": "https://docs.medusajs.com/resources/how-to-tutorials/tutorials/re-order",
"children": []
},
{
"loaded": true,
"isPathHref": true,
"type": "link",
"path": "/commerce-modules/order/order-totals",
"title": "Retrieve Order Totals",
"children": []
}
]
},
@@ -6760,14 +6776,6 @@ const generatedgeneratedCommerceModulesSidebarSidebar = {
"path": "https://docs.medusajs.com/resources/references/medusa-workflows/orderExchangeRequestItemReturnWorkflow",
"children": []
},
{
"loaded": true,
"isPathHref": true,
"type": "ref",
"title": "processPaymentWorkflow",
"path": "https://docs.medusajs.com/resources/references/medusa-workflows/processPaymentWorkflow",
"children": []
},
{
"loaded": true,
"isPathHref": true,
@@ -9479,14 +9487,6 @@ const generatedgeneratedCommerceModulesSidebarSidebar = {
"path": "https://docs.medusajs.com/resources/references/medusa-workflows/markPaymentCollectionAsPaid",
"children": []
},
{
"loaded": true,
"isPathHref": true,
"type": "ref",
"title": "processPaymentWorkflow",
"path": "https://docs.medusajs.com/resources/references/medusa-workflows/processPaymentWorkflow",
"children": []
},
{
"loaded": true,
"isPathHref": true,
@@ -16208,14 +16208,6 @@ const generatedgeneratedCommerceModulesSidebarSidebar = {
"path": "https://docs.medusajs.com/resources/references/medusa-workflows/refreshCartItemsWorkflow",
"children": []
},
{
"loaded": true,
"isPathHref": true,
"type": "ref",
"title": "removeDraftOrderShippingMethodWorkflow",
"path": "https://docs.medusajs.com/resources/references/medusa-workflows/removeDraftOrderShippingMethodWorkflow",
"children": []
},
{
"loaded": true,
"isPathHref": true,
@@ -142,6 +142,22 @@ const generatedgeneratedHowToTutorialsSidebarSidebar = {
"path": "https://docs.medusajs.com/resources/commerce-modules/auth/reset-password",
"children": []
},
{
"loaded": true,
"isPathHref": true,
"type": "ref",
"title": "Retrieve Cart Totals",
"path": "https://docs.medusajs.com/resources/commerce-modules/cart/cart-totals",
"children": []
},
{
"loaded": true,
"isPathHref": true,
"type": "ref",
"title": "Retrieve Order Totals",
"path": "https://docs.medusajs.com/resources/commerce-modules/order/order-totals",
"children": []
},
{
"loaded": true,
"isPathHref": true,