feat(dashboard): Variant edit form (#6870)

**What**
- Adds form to edit variant details.
- If stock and inventory modules are installed we omit inputs for stock and inventory as they should be managed in a separate form in that case. (Still a bit unsure about this, but its what we have in the current admin)
This commit is contained in:
Kasper Fabricius Kristensen
2024-04-01 16:38:49 +00:00
committed by GitHub
parent 8363dbec4f
commit b2763647f7
10 changed files with 632 additions and 8 deletions
@@ -239,6 +239,11 @@ export const v1Routes: RouteObject[] = [
path: "media",
lazy: () => import("../../routes/products/product-media"),
},
{
path: "variants/:variant_id/edit",
lazy: () =>
import("../../routes/products/product-edit-variant"),
},
],
},
],