Raw
1 /** @type {import('types').Sidebar.SidebarItem[]} */
2 export const howToTutorialsSidebar = [
3 {
4 type: "link",
5 path: "/how-to-tutorials",
6 title: "Overview",
7 },
8 {
9 type: "link",
10 path: "/examples",
11 title: "Example Snippets",
12 },
13 {
14 type: "separator",
15 },
16 {
17 type: "category",
18 title: "How-To Guides",
19 description:
20 "How-to guides are a collection of guides that help you understand how to achieve certain customizations or implementing specific features in Medusa.",
21 children: [
22 {
23 type: "sub-category",
24 title: "Server",
25 autogenerate_tags: "howTo+server",
26 autogenerate_as_ref: true,
27 sort_sidebar: "alphabetize",
28 description:
29 "These how-to guides help you customize the Medusa server to implement custom features and business logic.",
30 },
31 {
32 type: "sub-category",
33 title: "Admin",
34 autogenerate_tags: "howTo+admin",
35 autogenerate_as_ref: true,
36 sort_sidebar: "alphabetize",
37 description:
38 "These how-to guides help you customize the Medusa Admin dashboard with practical examples.",
39 children: [
40 {
41 type: "link",
42 title: "Custom Admin Authentication",
43 path: "/how-to-tutorials/how-to/admin/auth",
44 },
45 ],
46 },
47 ],
48 },
49 {
50 type: "category",
51 title: "Tutorials",
52 sort_sidebar: "alphabetize",
53 description: `Tutorials are step-by-step guides that take you through implementing a specific use case in Medusa. You can follow these guides whether you're a beginner or an experienced Medusa developer.
54
55 While tutorials show you a specific use case, they also help you understand how to implement similar use cases in your own projects. Also, you can implement the use case in a tutorial differently to fit your business requirements.`,
56 children: [
57 {
58 type: "link",
59 title: "Add Gift Message",
60 path: "/how-to-tutorials/tutorials/gift-message",
61 description:
62 "Learn how to add a gift option and message to items in the cart.",
63 },
64 {
65 type: "link",
66 title: "Add Product Category Images",
67 path: "/how-to-tutorials/tutorials/category-images",
68 description: "Learn how to add images to product categories in Medusa.",
69 },
70 {
71 type: "link",
72 title: "Agentic Commerce",
73 path: "/how-to-tutorials/tutorials/agentic-commerce",
74 description:
75 "Learn how to build Agentic Commerce with Medusa to support purchase with AI agents like ChatGPT.",
76 },
77 {
78 type: "ref",
79 title: "Analytics with Segment",
80 path: "/integrations/guides/segment",
81 description:
82 "Learn how to integrate Segment with Medusa to track user interactions and events.",
83 },
84 {
85 type: "link",
86 title: "Abandoned Cart",
87 path: "/how-to-tutorials/tutorials/abandoned-cart",
88 description:
89 "Learn how to send abandoned cart notifications to customers.",
90 },
91 {
92 type: "ref",
93 title: "Bundled Products",
94 path: "/recipes/bundled-products/examples/standard",
95 description:
96 "Learn how to implement bundled products in your Medusa store.",
97 },
98 {
99 type: "link",
100 title: "Custom Item Pricing",
101 path: "/examples/guides/custom-item-price",
102 description:
103 "Learn how to use prices from external systems for products.",
104 },
105 {
106 type: "link",
107 title: "Customer Tiers",
108 path: "/how-to-tutorials/tutorials/customer-tiers",
109 description:
110 "Learn how to implement customer tiers in your Medusa store.",
111 },
112 {
113 type: "link",
114 title: "First-Purchase Discounts",
115 path: "/how-to-tutorials/tutorials/first-purchase-discounts",
116 description:
117 "Learn how to implement first-purchase discounts in your Medusa store.",
118 },
119 {
120 type: "link",
121 title: "Generate Invoices",
122 path: "/how-to-tutorials/tutorials/invoice-generator",
123 description:
124 "Learn how to generate invoices for orders in your Medusa store.",
125 },
126 {
127 type: "ref",
128 title: "Integrate Payload CMS",
129 path: "/integrations/guides/payload",
130 description:
131 "Learn how to integrate Payload CMS with Medusa to manage your product content.",
132 },
133 {
134 type: "link",
135 title: "Loyalty Points System",
136 path: "/how-to-tutorials/tutorials/loyalty-points",
137 description:
138 "Learn how to implement a loyalty points system in your Medusa store.",
139 },
140 {
141 type: "ref",
142 title: "Localization with Contentful",
143 path: "/integrations/guides/contentful",
144 description:
145 "Learn how to implement localization in Medusa by integrating Contentful.",
146 },
147 {
148 type: "ref",
149 title: "Magento Migration",
150 path: "/integrations/guides/magento",
151 description: "Learn how to migrate data from Magento to Medusa.",
152 },
153 {
154 type: "link",
155 title: "Meta Product Feed",
156 path: "/how-to-tutorials/tutorials/product-feed",
157 description:
158 "Learn how to implement a product feed for Meta (Facebook and Instagram) and Google using Medusa.",
159 },
160 {
161 type: "ref",
162 title: "Newsletter with Mailchimp",
163 path: "/integrations/guides/mailchimp",
164 description:
165 "Learn how to integrate Mailchimp with Medusa to manage and automate newsletters.",
166 },
167 {
168 type: "ref",
169 title: "Personalized Products",
170 path: "/recipes/personalized-products/example",
171 description:
172 "Learn how to implement personalized products in your Medusa store.",
173 },
174 {
175 type: "link",
176 title: "Phone Authentication",
177 path: "/how-to-tutorials/tutorials/phone-auth",
178 description:
179 "Learn how to allow users to authenticate using their phone numbers.",
180 },
181 {
182 type: "link",
183 title: "Pre-Order Products",
184 path: "/how-to-tutorials/tutorials/preorder",
185 description:
186 "Learn how to implement pre-order functionality for products in your Medusa store.",
187 },
188 {
189 type: "link",
190 title: "Product Builder",
191 path: "/how-to-tutorials/tutorials/product-builder",
192 description:
193 "Learn how to implement a product builder that allows customers to customize products before adding them to the cart.",
194 },
195 {
196 type: "link",
197 title: "Product Rentals",
198 path: "/how-to-tutorials/tutorials/product-rentals",
199 description:
200 "Learn how to implement product rentals in your Medusa store.",
201 },
202 {
203 type: "link",
204 title: "Product Reviews",
205 path: "/how-to-tutorials/tutorials/product-reviews",
206 description:
207 "Learn how to implement product reviews in your Medusa store.",
208 },
209 {
210 type: "link",
211 title: "Quote Management",
212 path: "/examples/guides/quote-management",
213 description:
214 "Learn how to implement quote management, useful for B2B use cases.",
215 },
216 {
217 type: "link",
218 title: "Re-Order",
219 path: "/how-to-tutorials/tutorials/re-order",
220 description:
221 "Learn how to allow customers to re-order previous orders.",
222 },
223 {
224 type: "link",
225 title: "Saved Payment Methods",
226 path: "/how-to-tutorials/tutorials/saved-payment-methods",
227 description:
228 "Learn how to implement saved payment methods in your Medusa store.",
229 },
230 {
231 type: "link",
232 title: "Wishlist Plugin",
233 path: "/plugins/guides/wishlist",
234 description:
235 "Learn how to build a plugin for wishlist functionalities.",
236 },
237 {
238 type: "sub-category",
239 title: "Extend Modules",
240 autogenerate_tags: "tutorial+extendModule",
241 autogenerate_as_ref: true,
242 sort_sidebar: "alphabetize",
243 },
244 ],
245 },
246 {
247 type: "category",
248 title: "Deployment",
249 children: [
250 {
251 type: "link",
252 path: "/deployment",
253 title: "Overview",
254 },
255 {
256 type: "link",
257 title: "Cloud",
258 path: "https://docs.medusajs.com/cloud",
259 },
260 {
261 type: "link",
262 title: "Self-Hosting",
263 path: "https://docs.medusajs.com/learn/deployment/general",
264 },
265 {
266 type: "sub-category",
267 title: "Next.js Starter",
268 autogenerate_path: "/deployment/storefront",
269 },
270 ],
271 },
272 ]