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
2024-04-08 15:29:41 +02:00
committed by GitHub
parent 7b4ff1ae57
commit fa5c9bbe8f
18 changed files with 320 additions and 437 deletions
@@ -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",
]