You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: www/apps/book/app/learn/fundamentals/admin/page.mdx
+7-7Lines changed: 7 additions & 7 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -6,17 +6,17 @@ export const metadata = {
6
6
7
7
In this chapter, you'll learn about the Medusa Admin dashboard and the possible ways to customize it.
8
8
9
-
## What is the Medusa Admin?
10
-
11
-
The Medusa Admin is an intuitive dashboard that allows merchants to manage their ecommerce store. It provides management features related to products, orders, customers, and more.
12
-
13
9
<Notetitle="Tip">
14
10
15
-
To explore more what you can do with the Medusa Admin, check out the [User Guide](!user-guide!). These user guides are designed for merchants and provide the steps to perform any task within the Medusa Admin.
11
+
To explore the Medusa Admin's commerce features, check out the [User Guide](!user-guide!). These user guides are designed for merchants and provide the steps to perform any task within the Medusa Admin.
16
12
17
13
</Note>
18
14
19
-
The Medusa Admin is built with [Vite](https://vite.dev/). When you [install the Medusa application](../../installation/page.mdx), you also install the Medusa Admin. Then, when you start the Medusa application, you can access the Medusa Admin at `http://localhost:9000/app`.
15
+
## What is the Medusa Admin?
16
+
17
+
The Medusa Admin is an intuitive dashboard that allows merchants to manage their ecommerce store. It provides management features related to products, orders, customers, and more.
18
+
19
+
The Medusa Admin is built with [Vite v5](https://v5.vite.dev/). When you [install the Medusa application](../../installation/page.mdx), you also install the Medusa Admin. Then, when you start the Medusa application, you can access the Medusa Admin at `http://localhost:9000/app`.
20
20
21
21
<Notetitle="Tip">
22
22
@@ -37,7 +37,7 @@ The next chapters will cover these two topics in detail.
37
37
38
38
### What You Can't Customize in the Medusa Admin
39
39
40
-
You can't customize the admin dashboard's layout, design, or the content of the existing pages (aside from injecting widgets).
40
+
You can't customize the admin dashboard's layout, design, or the content of the existing pages (aside from injecting widgets). You also can't customize the login page, the authentication flow, or change the Medusa logo used in the admin dashboard.
41
41
42
42
If your use case requires heavy customization of the admin dashboard, you can build a custom admin dashboard using Medusa's [Admin API routes](!api!/admin).
Copy file name to clipboardExpand all lines: www/apps/book/app/learn/fundamentals/admin/widgets/page.mdx
+45Lines changed: 45 additions & 0 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -139,3 +139,48 @@ Refer to [this reference](!resources!/admin-widget-injection-zones) for the full
139
139
## Admin Components List
140
140
141
141
To build admin customizations that match the Medusa Admin's designs and layouts, refer to [this guide](!resources!/admin-components) to find common components.
142
+
143
+
---
144
+
145
+
## Show Widgets Conditionally
146
+
147
+
In some cases, you may want to show a widget only if certain conditions are met. For example, you may want to show a widget only if the product has a brand.
148
+
149
+
To disable the widget from showing, return an empty fragment from the widget component:
0 commit comments