From 2b6c39535f1157a1c0432b64dd93132d88a6280b Mon Sep 17 00:00:00 2001 From: Nicolas Gorga <62995075+NicolasGorga@users.noreply.github.com> Date: Mon, 10 Nov 2025 11:20:02 -0300 Subject: [PATCH] feat(dashboard): include product material in product general section (#14021) MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit ## Summary **What** — What changes are introduced in this PR? Include `material` field in the product detail summary UI section, to match the structure of the same edit UI, which includes the field. **Why** — Why are these changes relevant or necessary? Without this there is no UI to see the current value of the `material` field/ **How** — How have these changes been implemented? Added a section row including the `material` field in the product detail summary section. **Testing** — How have these changes been tested, or how can the reviewer test the feature? Verified the field shos up as expected in the admin dashboard. --- ## Examples Provide examples or code snippets that demonstrate how this feature works, or how it can be used in practice. This helps with documentation and ensures maintainers can quickly understand and verify the change. ```ts // Example usage ``` --- ## Checklist Please ensure the following before requesting a review: - [x] I have added a **changeset** for this PR - Every non-breaking change should be marked as a **patch** - To add a changeset, run `yarn changeset` and follow the prompts - [ ] The changes are covered by relevant **tests** - [x] I have verified the code works as intended locally - [x] I have linked the related issue(s) if applicable --- ## Additional Context Add any additional context, related issues, or references that might help the reviewer understand this PR. fixes #14019 closes SUP-2686 --- .changeset/clean-webs-bet.md | 5 +++++ .../product-general-section/product-general-section.tsx | 1 + 2 files changed, 6 insertions(+) create mode 100644 .changeset/clean-webs-bet.md diff --git a/.changeset/clean-webs-bet.md b/.changeset/clean-webs-bet.md new file mode 100644 index 0000000000..8d5eef0401 --- /dev/null +++ b/.changeset/clean-webs-bet.md @@ -0,0 +1,5 @@ +--- +"@medusajs/dashboard": patch +--- + +feat(dashboard): include product material in product general section diff --git a/packages/admin/dashboard/src/routes/products/product-detail/components/product-general-section/product-general-section.tsx b/packages/admin/dashboard/src/routes/products/product-detail/components/product-general-section/product-general-section.tsx index 147618e603..abea05dd60 100644 --- a/packages/admin/dashboard/src/routes/products/product-detail/components/product-general-section/product-general-section.tsx +++ b/packages/admin/dashboard/src/routes/products/product-detail/components/product-general-section/product-general-section.tsx @@ -102,6 +102,7 @@ export const ProductGeneralSection = ({ +