Dynamic option creation
Missing product option values get created automatically, but only for the |
|
If it is desired to disable the dynamic option creation, override the
default add-update
(see techdivision/import-product
library ), by adding the following example
override snippet <custom-configuration-dir>/shortcuts.json
and remove the eav_attribute
related operations.
- Override Snippet:
<custom-configuration-dir>/shortcuts.json
{
"shortcuts": {
"ce": {
"catalog_product": {
"add-update": [
...
"general/eav_attribute/convert",
"general/eav_attribute/add-update.options",
"general/eav_attribute/add-update.option-values",
"general/eav_attribute/add-update.swatch-values",
...
]
}
}
}
}
- Result configuration:
{
"shortcuts": {
"ce": {
"catalog_product": {
"add-update": [
"general/general/global-data",
"general/general/move-files",
"general/catalog_product/collect-data",
"general/catalog_category/convert",
"ce/catalog_category/sort",
"ce/catalog_category/add-update",
"ce/catalog_category/add-update.path",
"ce/catalog_category/add-update.url-rewrite",
"general/catalog_category/children-count",
"general/catalog_product/validate",
"ce/catalog_product/add-update",
"ce/catalog_product/add-update.variants",
"ce/catalog_product/add-update.bundles",
"ce/catalog_product/add-update.links",
"ce/catalog_product/add-update.grouped",
"ce/catalog_product/add-update.media",
"general/catalog_product/add-update.msi",
"general/catalog_product/add-update.url-rewrites"
]
}
}
}
}
It is not possible to create translations for stores other than the If option values get created dynamically, the values from the
|