docs: add manage promotions in cart storefront guide (#13483)

* docs: add manage promotions in cart storefront guide

* fix incorrect cURL example
This commit is contained in:
Shahed Nasser
2025-09-15 12:29:55 +03:00
committed by GitHub
parent 23d5a902b1
commit 2657f9c196
15 changed files with 215 additions and 8 deletions
@@ -6573,6 +6573,7 @@ export const generatedEditDates = {
"app/troubleshooting/scheduled-job-not-running/page.mdx": "2025-08-29T11:32:54.117Z",
"app/troubleshooting/pnpm/page.mdx": "2025-08-29T12:21:24.692Z",
"app/how-to-tutorials/tutorials/product-feed/page.mdx": "2025-09-01T13:19:59.335Z",
"app/storefront-development/cart/manage-promotions/page.mdx": "2025-09-11T14:11:40.904Z",
"app/recipes/ticket-booking/examples/page.mdx": "2025-09-10T14:11:55.063Z",
"app/recipes/ticket-booking/examples/storefront/page.mdx": "2025-09-10T14:14:44.005Z",
"app/recipes/ticket-booking/example/page.mdx": "2025-09-10T15:13:15.604Z",
@@ -1183,6 +1183,10 @@ export const filesMap = [
"filePath": "/www/apps/resources/app/storefront-development/cart/manage-items/page.mdx",
"pathname": "/storefront-development/cart/manage-items"
},
{
"filePath": "/www/apps/resources/app/storefront-development/cart/manage-promotions/page.mdx",
"pathname": "/storefront-development/cart/manage-promotions"
},
{
"filePath": "/www/apps/resources/app/storefront-development/cart/retrieve/page.mdx",
"pathname": "/storefront-development/cart/retrieve"
@@ -1227,6 +1227,14 @@ const generatedgeneratedCommerceModulesSidebarSidebar = {
"path": "https://docs.medusajs.com/resources/storefront-development/guides/express-checkout",
"children": []
},
{
"loaded": true,
"isPathHref": true,
"type": "ref",
"title": "Manage Cart Promotions in Storefront",
"path": "https://docs.medusajs.com/resources/storefront-development/cart/manage-promotions",
"children": []
},
{
"loaded": true,
"isPathHref": true,
@@ -13508,6 +13516,26 @@ const generatedgeneratedCommerceModulesSidebarSidebar = {
}
]
},
{
"loaded": true,
"isPathHref": true,
"type": "category",
"title": "Storefront Guides",
"autogenerate_tags": "storefront+promotion,-jsSdk",
"autogenerate_as_ref": true,
"sort_sidebar": "alphabetize",
"description": "Learn how to integrate the Promotion Module's features into your storefront.",
"children": [
{
"loaded": true,
"isPathHref": true,
"type": "ref",
"title": "Manage Cart Promotions in Storefront",
"path": "https://docs.medusajs.com/resources/storefront-development/cart/manage-promotions",
"children": []
}
]
},
{
"loaded": true,
"isPathHref": true,
@@ -294,6 +294,14 @@ const generatedgeneratedStorefrontDevelopmentSidebarSidebar = {
"title": "Manage Line Items",
"children": []
},
{
"loaded": true,
"isPathHref": true,
"type": "link",
"path": "/storefront-development/cart/manage-promotions",
"title": "Manage Promotions",
"children": []
},
{
"loaded": true,
"isPathHref": true,