feat: Improve how options are defined and handled for product (#7007)

* feat: Improve how options are defined and handled for product

* fix: Updating option values supports passing without id
This commit is contained in:
Stevche Radevski authored and GitHub committed 2024-04-08 15:29:41 +02:00
1 parent 7b4ff1ae57
commit fa5c9bbe8f
18 files changed
+320 -437

No files matched your search

@@ -24,7 +24,6 @@ export const defaultAdminProductsVariantFields = [
"barcode",
"*prices",
"*options",
"*options.option_value",
]
export const retrieveVariantConfig = {
@@ -85,7 +84,6 @@ export const defaultAdminProductFields = [
"*variants",
"*variants.prices",
"*variants.options",
"*variants.options.option_value",
"*sales_channels",
]