Entity extension visibility in admin and storefront #5686
Unanswered
bogdannistorbogdan
asked this question in
Q&A
Replies: 2 comments 4 replies
-
You can add additional widgets to the admin ui, by using widgets To make the ui consistent, use medusa-ui You might have to create a custom API-Route to save the data. Afaik, there is no way to remove fields from the base |
Beta Was this translation helpful? Give feedback.
4 replies
-
How can I being the new custom field in edit product popup? |
Beta Was this translation helpful? Give feedback.
0 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
-
Hello! I want to extend the product entity by adding a new field and I followed the instructions from here:
https://docs.medusajs.com/development/entities/extend-entity
and here:
https://docs.medusajs.com/development/entities/migrations/create
I can see the newly added property in the database. I extended the "Product" entity and added a new field, "Brand". Now, how can I have this "Brand" show up in the Admin interface and, obviously, in the store frontend? I am obviously missing the link between what I did and the flow of having the backend and frontend actually show this field.
Also what if I want to completely ignore some fields, like for example, "material". It's in the product table. I really don't need this field for my use case.
Thanks.
Beta Was this translation helpful? Give feedback.
All reactions