Skip to content

Commit c4c2231

Browse files
authored
docs: create returns from storefront tutorial (medusajs#13522)
* docs: create returns from storefront tutorial * small change * generate llms * add location ID
1 parent 10787c8 commit c4c2231

File tree

12 files changed

+2694
-13
lines changed

12 files changed

+2694
-13
lines changed

www/apps/book/public/llms-full.txt

Lines changed: 1270 additions & 0 deletions
Large diffs are not rendered by default.

www/apps/resources/app/nextjs-starter/guides/storefront-returns/page.mdx

Lines changed: 1358 additions & 0 deletions
Large diffs are not rendered by default.

www/apps/resources/generated/edit-dates.mjs

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -6609,5 +6609,6 @@ export const generatedEditDates = {
66096609
"references/core_flows/Locking/Steps_Locking/variables/core_flows.Locking.Steps_Locking.acquireLockStepId/page.mdx": "2025-09-15T09:52:14.218Z",
66106610
"references/core_flows/Locking/Steps_Locking/variables/core_flows.Locking.Steps_Locking.releaseLockStepId/page.mdx": "2025-09-15T09:52:14.219Z",
66116611
"references/core_flows/Locking/core_flows.Locking.Steps_Locking/page.mdx": "2025-09-15T09:52:14.217Z",
6612+
"app/nextjs-starter/guides/storefront-returns/page.mdx": "2025-09-22T06:02:00.580Z",
66126613
"references/js_sdk/admin/Admin/properties/js_sdk.admin.Admin.views/page.mdx": "2025-09-18T17:04:59.240Z"
66136614
}

www/apps/resources/generated/files-map.mjs

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1019,6 +1019,10 @@ export const filesMap = [
10191019
"filePath": "/www/apps/resources/app/nextjs-starter/guides/revalidate-cache/page.mdx",
10201020
"pathname": "/nextjs-starter/guides/revalidate-cache"
10211021
},
1022+
{
1023+
"filePath": "/www/apps/resources/app/nextjs-starter/guides/storefront-returns/page.mdx",
1024+
"pathname": "/nextjs-starter/guides/storefront-returns"
1025+
},
10221026
{
10231027
"filePath": "/www/apps/resources/app/nextjs-starter/page.mdx",
10241028
"pathname": "/nextjs-starter"

www/apps/resources/generated/generated-commerce-modules-sidebar.mjs

Lines changed: 8 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -6310,6 +6310,14 @@ const generatedgeneratedCommerceModulesSidebarSidebar = {
63106310
"title": "Order Confirmation in Storefront",
63116311
"path": "https://docs.medusajs.com/resources/storefront-development/checkout/order-confirmation",
63126312
"children": []
6313+
},
6314+
{
6315+
"loaded": true,
6316+
"isPathHref": true,
6317+
"type": "ref",
6318+
"title": "Return Request - Order #",
6319+
"path": "https://docs.medusajs.com/resources/nextjs-starter/guides/storefront-returns",
6320+
"children": []
63136321
}
63146322
]
63156323
},

www/apps/resources/generated/generated-storefront-development-sidebar.mjs

Lines changed: 8 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -51,6 +51,14 @@ const generatedgeneratedStorefrontDevelopmentSidebarSidebar = {
5151
"path": "/storefront-development/guides/express-checkout",
5252
"title": "Express Checkout Storefront",
5353
"children": []
54+
},
55+
{
56+
"loaded": true,
57+
"isPathHref": true,
58+
"type": "ref",
59+
"path": "/nextjs-starter/guides/storefront-returns",
60+
"title": "Create Returns from Storefront",
61+
"children": []
5462
}
5563
]
5664
},

www/apps/resources/generated/generated-tools-sidebar.mjs

Lines changed: 16 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -794,14 +794,6 @@ const generatedgeneratedToolsSidebarSidebar = {
794794
"title": "How-to Guides",
795795
"initialOpen": true,
796796
"children": [
797-
{
798-
"loaded": true,
799-
"isPathHref": true,
800-
"type": "link",
801-
"path": "/nextjs-starter/guides/customize-stripe",
802-
"title": "Use Stripe's Payment Element",
803-
"children": []
804-
},
805797
{
806798
"loaded": true,
807799
"isPathHref": true,
@@ -829,6 +821,14 @@ const generatedgeneratedToolsSidebarSidebar = {
829821
"path": "https://docs.medusajs.com/resources/how-to-tutorials/tutorials/gift-message",
830822
"children": []
831823
},
824+
{
825+
"loaded": true,
826+
"isPathHref": true,
827+
"type": "link",
828+
"path": "/nextjs-starter/guides/storefront-returns",
829+
"title": "Create Order Returns",
830+
"children": []
831+
},
832832
{
833833
"loaded": true,
834834
"isPathHref": true,
@@ -876,6 +876,14 @@ const generatedgeneratedToolsSidebarSidebar = {
876876
"title": "Ticket Booking Storefront",
877877
"path": "https://docs.medusajs.com/resources/recipes/ticket-booking/example/storefront",
878878
"children": []
879+
},
880+
{
881+
"loaded": true,
882+
"isPathHref": true,
883+
"type": "link",
884+
"path": "/nextjs-starter/guides/customize-stripe",
885+
"title": "Use Stripe's Payment Element",
886+
"children": []
879887
}
880888
]
881889
}

www/apps/resources/sidebars/storefront.mjs

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -35,6 +35,11 @@ export const storefrontDevelopmentSidebar = [
3535
path: "/storefront-development/guides/express-checkout",
3636
title: "Express Checkout Storefront",
3737
},
38+
{
39+
type: "ref",
40+
path: "/nextjs-starter/guides/storefront-returns",
41+
title: "Create Returns from Storefront",
42+
},
3843
],
3944
},
4045
{

www/apps/resources/sidebars/tools.mjs

Lines changed: 12 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -108,11 +108,6 @@ export const toolsSidebar = [
108108
title: "How-to Guides",
109109
initialOpen: true,
110110
children: [
111-
{
112-
type: "link",
113-
path: "/nextjs-starter/guides/customize-stripe",
114-
title: "Use Stripe's Payment Element",
115-
},
116111
{
117112
type: "link",
118113
path: "/nextjs-starter/guides/revalidate-cache",
@@ -126,6 +121,18 @@ export const toolsSidebar = [
126121
autogenerate_tags: "nextjs+tutorial",
127122
autogenerate_as_ref: true,
128123
sort_sidebar: "alphabetize",
124+
children: [
125+
{
126+
type: "link",
127+
path: "/nextjs-starter/guides/customize-stripe",
128+
title: "Use Stripe's Payment Element",
129+
},
130+
{
131+
type: "link",
132+
path: "/nextjs-starter/guides/storefront-returns",
133+
title: "Create Order Returns",
134+
},
135+
],
129136
},
130137
],
131138
},

www/packages/tags/src/tags/example.ts

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,8 @@
11
export const example = [
2+
{
3+
"title": "Return Request - Order #",
4+
"path": "https://docs.medusajs.com/resources/nextjs-starter/guides/storefront-returns"
5+
},
26
{
37
"title": "Implement Express Checkout with Medusa",
48
"path": "https://docs.medusajs.com/resources/storefront-development/guides/express-checkout"

0 commit comments

Comments
 (0)