Raw
1 /** @type {import('types').Sidebar.SidebarItem[]} */
2 export const pricingSidebar = [
3 {
4 type: "sidebar",
5 sidebar_id: "pricing",
6 title: "Pricing Module",
7 children: [
8 {
9 type: "link",
10 path: "/commerce-modules/pricing",
11 title: "Overview",
12 },
13 {
14 type: "separator",
15 },
16 {
17 type: "category",
18 title: "Concepts",
19 children: [
20 {
21 type: "link",
22 path: "/commerce-modules/pricing/concepts",
23 title: "Pricing Concepts",
24 },
25 {
26 type: "link",
27 path: "/commerce-modules/pricing/price-rules",
28 title: "Price Tiers and Rules",
29 },
30 {
31 type: "link",
32 path: "/commerce-modules/pricing/price-calculation",
33 title: "Prices Calculation",
34 },
35 {
36 type: "link",
37 path: "/commerce-modules/pricing/tax-inclusive-pricing",
38 title: "Tax-Inclusive Pricing",
39 },
40 {
41 type: "link",
42 path: "/commerce-modules/pricing/links-to-other-modules",
43 title: "Links to Other Modules",
44 },
45 ],
46 },
47 {
48 type: "category",
49 title: "Server Guides",
50 autogenerate_tags: "server+pricing",
51 autogenerate_as_ref: true,
52 sort_sidebar: "alphabetize",
53 description:
54 "Learn how to use the Pricing Module in your customizations on the Medusa application server.",
55 },
56 {
57 type: "category",
58 title: "Storefront Guides",
59 autogenerate_tags: "storefront+pricing,-jsSdk",
60 autogenerate_as_ref: true,
61 sort_sidebar: "alphabetize",
62 description:
63 "Learn how to integrate the Pricing Module's features into your storefront.",
64 },
65 {
66 type: "category",
67 title: "Admin Guides",
68 autogenerate_tags: "admin+pricing,-jsSdk",
69 autogenerate_as_ref: true,
70 sort_sidebar: "alphabetize",
71 description:
72 "Learn how to utilize administative features of the Pricing Module.",
73 },
74 {
75 type: "category",
76 title: "Admin User Guides",
77 autogenerate_tags: "userGuide+pricing",
78 autogenerate_as_ref: true,
79 sort_sidebar: "alphabetize",
80 description:
81 "Learn how to utilize and manage Pricing features in the Medusa Admin dashboard.",
82 },
83 {
84 type: "category",
85 title: "References",
86 description:
87 "Find references for tools and resources related to the Pricing Module, such as data models, methods, and more. These are useful for your customizations.",
88 children: [
89 {
90 type: "link",
91 path: "/commerce-modules/pricing/workflows",
92 title: "Workflows",
93 hideChildren: true,
94 children: [
95 {
96 type: "category",
97 title: "Workflows",
98 autogenerate_tags: "workflow+pricing",
99 autogenerate_as_ref: true,
100 sort_sidebar: "alphabetize",
101 },
102 {
103 type: "category",
104 title: "Steps",
105 autogenerate_tags: "step+pricing",
106 autogenerate_as_ref: true,
107 sort_sidebar: "alphabetize",
108 },
109 ],
110 },
111 {
112 type: "link",
113 path: "/commerce-modules/pricing/js-sdk",
114 title: "JS SDK",
115 hideChildren: true,
116 children: [
117 {
118 type: "sub-category",
119 title: "Store",
120 autogenerate_tags: "jsSdk+storefront+pricing",
121 description:
122 "The following methods or properties are used to send requests to Store API Routes related to the Pricing Module.",
123 autogenerate_as_ref: true,
124 sort_sidebar: "alphabetize",
125 },
126 {
127 type: "sub-category",
128 title: "Admin",
129 autogenerate_tags: "jsSdk+admin+pricing",
130 description:
131 "The following methods or properties are used to send requests to Admin API Routes related to the Pricing Module.",
132 autogenerate_as_ref: true,
133 sort_sidebar: "alphabetize",
134 },
135 ],
136 },
137 {
138 type: "link",
139 path: "/commerce-modules/pricing/admin-widget-zones",
140 title: "Admin Widget Zones",
141 },
142 {
143 type: "sidebar",
144 sidebar_id: "pricing-service-reference",
145 title: "Main Service Reference",
146 childSidebarTitle: "Pricing Module's Main Service Reference",
147 children: [
148 {
149 type: "link",
150 path: "/references/pricing",
151 title: "Reference Overview",
152 },
153 {
154 type: "separator",
155 },
156 {
157 type: "category",
158 title: "Methods",
159 autogenerate_path:
160 "/references/pricing/IPricingModuleService/methods",
161 },
162 ],
163 },
164 {
165 type: "sidebar",
166 sidebar_id: "pricing-models-reference",
167 title: "Data Models Reference",
168 childSidebarTitle: "Pricing Module Data Models Reference",
169 children: [
170 {
171 type: "link",
172 path: "/references/pricing/models",
173 title: "Reference Overview",
174 },
175 {
176 type: "separator",
177 },
178 {
179 type: "category",
180 title: "Data Models",
181 hasTitleStyling: true,
182 autogenerate_path: "/references/pricing_models/variables",
183 },
184 ],
185 },
186 ],
187 },
188 ],
189 },
190 ]