Skip to content

Commit d15d4ba

Browse files
authored
docs: added pre-orders guide (medusajs#12984)
* docs: added pre-orders guide * fix lint errors
1 parent 468b81c commit d15d4ba

File tree

12 files changed

+3901
-1
lines changed

12 files changed

+3901
-1
lines changed

www/apps/resources/app/how-to-tutorials/tutorials/preorder/page.mdx

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

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

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -6557,5 +6557,6 @@ export const generatedEditDates = {
65576557
"app/how-to-tutorials/tutorials/gift-message/page.mdx": "2025-06-26T09:13:19.296Z",
65586558
"app/how-to-tutorials/tutorials/re-order/page.mdx": "2025-06-26T12:38:24.308Z",
65596559
"app/commerce-modules/promotion/promotion-taxes/page.mdx": "2025-06-27T15:44:46.638Z",
6560-
"app/troubleshooting/payment/page.mdx": "2025-07-16T10:20:24.799Z"
6560+
"app/troubleshooting/payment/page.mdx": "2025-07-16T10:20:24.799Z",
6561+
"app/how-to-tutorials/tutorials/preorder/page.mdx": "2025-07-18T06:57:19.943Z"
65616562
}

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

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -759,6 +759,10 @@ export const filesMap = [
759759
"filePath": "/www/apps/resources/app/how-to-tutorials/tutorials/phone-auth/page.mdx",
760760
"pathname": "/how-to-tutorials/tutorials/phone-auth"
761761
},
762+
{
763+
"filePath": "/www/apps/resources/app/how-to-tutorials/tutorials/preorder/page.mdx",
764+
"pathname": "/how-to-tutorials/tutorials/preorder"
765+
},
762766
{
763767
"filePath": "/www/apps/resources/app/how-to-tutorials/tutorials/product-reviews/page.mdx",
764768
"pathname": "/how-to-tutorials/tutorials/product-reviews"

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

Lines changed: 16 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -6102,6 +6102,14 @@ const generatedgeneratedCommerceModulesSidebarSidebar = {
61026102
"path": "https://docs.medusajs.com/resources/how-to-tutorials/tutorials/loyalty-points",
61036103
"children": []
61046104
},
6105+
{
6106+
"loaded": true,
6107+
"isPathHref": true,
6108+
"type": "ref",
6109+
"title": "Implement Pre-Orders",
6110+
"path": "https://docs.medusajs.com/resources/how-to-tutorials/tutorials/preorder",
6111+
"children": []
6112+
},
61056113
{
61066114
"loaded": true,
61076115
"isPathHref": true,
@@ -11477,6 +11485,14 @@ const generatedgeneratedCommerceModulesSidebarSidebar = {
1147711485
"path": "https://docs.medusajs.com/resources/examples/guides/custom-item-price",
1147811486
"children": []
1147911487
},
11488+
{
11489+
"loaded": true,
11490+
"isPathHref": true,
11491+
"type": "ref",
11492+
"title": "Implement Pre-Order Products",
11493+
"path": "https://docs.medusajs.com/resources/how-to-tutorials/tutorials/preorder",
11494+
"children": []
11495+
},
1148011496
{
1148111497
"loaded": true,
1148211498
"isPathHref": true,

www/apps/resources/generated/generated-how-to-tutorials-sidebar.mjs

Lines changed: 9 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -499,6 +499,15 @@ const generatedgeneratedHowToTutorialsSidebarSidebar = {
499499
"description": "Learn how to allow users to authenticate using their phone numbers.",
500500
"children": []
501501
},
502+
{
503+
"loaded": true,
504+
"isPathHref": true,
505+
"type": "link",
506+
"title": "Pre-Order Products",
507+
"path": "/how-to-tutorials/tutorials/preorder",
508+
"description": "Learn how to implement pre-order functionality for products in your Medusa store.",
509+
"children": []
510+
},
502511
{
503512
"loaded": true,
504513
"isPathHref": true,

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

Lines changed: 8 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -819,6 +819,14 @@ const generatedgeneratedToolsSidebarSidebar = {
819819
"path": "https://docs.medusajs.com/resources/how-to-tutorials/tutorials/first-purchase-discounts",
820820
"children": []
821821
},
822+
{
823+
"loaded": true,
824+
"isPathHref": true,
825+
"type": "ref",
826+
"title": "Implement Pre-Orders",
827+
"path": "https://docs.medusajs.com/resources/how-to-tutorials/tutorials/preorder",
828+
"children": []
829+
},
822830
{
823831
"loaded": true,
824832
"isPathHref": true,

www/apps/resources/sidebars/how-to-tutorials.mjs

Lines changed: 7 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -148,6 +148,13 @@ While tutorials show you a specific use case, they also help you understand how
148148
description:
149149
"Learn how to allow users to authenticate using their phone numbers.",
150150
},
151+
{
152+
type: "link",
153+
title: "Pre-Order Products",
154+
path: "/how-to-tutorials/tutorials/preorder",
155+
description:
156+
"Learn how to implement pre-order functionality for products in your Medusa store.",
157+
},
151158
{
152159
type: "link",
153160
title: "Product Reviews",

www/packages/tags/src/tags/nextjs.ts

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -7,6 +7,10 @@ export const nextjs = [
77
"title": "Add Gift Message",
88
"path": "https://docs.medusajs.com/resources/how-to-tutorials/tutorials/gift-message"
99
},
10+
{
11+
"title": "Implement Pre-Orders",
12+
"path": "https://docs.medusajs.com/resources/how-to-tutorials/tutorials/preorder"
13+
},
1014
{
1115
"title": "Saved Payment Methods",
1216
"path": "https://docs.medusajs.com/resources/how-to-tutorials/tutorials/saved-payment-methods"

www/packages/tags/src/tags/order.ts

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -47,6 +47,10 @@ export const order = [
4747
"title": "Implement Loyalty Points",
4848
"path": "https://docs.medusajs.com/resources/how-to-tutorials/tutorials/loyalty-points"
4949
},
50+
{
51+
"title": "Implement Pre-Orders",
52+
"path": "https://docs.medusajs.com/resources/how-to-tutorials/tutorials/preorder"
53+
},
5054
{
5155
"title": "Implement Re-Order",
5256
"path": "https://docs.medusajs.com/resources/how-to-tutorials/tutorials/re-order"

www/packages/tags/src/tags/product.ts

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -75,6 +75,10 @@ export const product = [
7575
"title": "Implement Custom Line Item Pricing in Medusa",
7676
"path": "https://docs.medusajs.com/resources/examples/guides/custom-item-price"
7777
},
78+
{
79+
"title": "Implement Pre-Order Products",
80+
"path": "https://docs.medusajs.com/resources/how-to-tutorials/tutorials/preorder"
81+
},
7882
{
7983
"title": "Implement Product Reviews",
8084
"path": "https://docs.medusajs.com/resources/how-to-tutorials/tutorials/product-reviews"

0 commit comments

Comments
 (0)