Shortcuts

Extend Configuration

Add the subject that processes the ENTITY to your configuration file, see available Entity Type Code

The configuration for the appropriate operations has to get extended /changed as follows

The best strategy to extend/customize the configuration file shortcuts.json is either:

  • Create a custom Magento module including all modifications

  • Create a copy of shortcuts.json under app/etc/configuration/shortcuts.json, remove unnecessary default lines/sections, and insert the needed customizations in the new operations.json

add-update

For the add-update shortcuts, the configuration has to be structured as following code
{
  "shortcuts": {
    "ce": {
      "catalog_product": {
        "add-update": [
          "general/general/global-data",
          "general/general/move-files",
          "general/catalog_product/collect-data",
          "general/eav_attribute/convert",
          "general/eav_attribute/add-update.options",
          "general/eav_attribute/add-update.option-values",
          "general/eav_attribute/add-update.swatch-values",
          "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",
          "ce/catalog_category/children-count",
          "ce/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",
          "general/catalog_product/add-update.tier-prices"
        ]
      }
    }
  }
}

replace

For the replace shortcuts, the configuration has to be structured as following code.
{
  "shortcuts": {
    "ce": {
      "catalog_product": {
        "replace": [
          "general/general/global-data",
          "general/general/move-files",
          "general/catalog_product/collect-data",
          "general/eav_attribute/convert",
          "general/eav_attribute/add-update.options",
          "general/eav_attribute/add-update.option-values",
          "general/eav_attribute/add-update.swatch-values",
          "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",
          "ce/catalog_category/children-count",
          "ce/catalog_product/validate",
          "ce/catalog_product/replace",
          "ce/catalog_product/replace.variants",
          "ce/catalog_product/replace.bundles",
          "ce/catalog_product/replace.links",
          "ce/catalog_product/replace.grouped",
          "ce/catalog_product/replace.media",
          "general/catalog_product/replace.msi",
          "general/catalog_product/replace.url-rewrites",
          "general/catalog_product/replace.tier-prices"
        ]
      }
    }
  }
}

delete

For the delete operation, the configuration has to be structured as the following code
{
  "shortcuts": {
    "ce": {
      "catalog_product": {
        "delete": [
          "general/general/global-data",
          "general/general/move-files",
          "ce/catalog_product/delete",
          "general/catalog_product/delete.msi"
        ]
      }
    }
  }
}

validate

For the delete operation, the configuration has to be structured as the following code
{
  "shortcuts": {
    "ce": {
      "catalog_product": {
        "validate": [
          "general/general/global-data",
          "general/general/move-files",
          "general/catalog_product/collect-data",
          "ce/catalog_product/validate"
        ]
      }
    }
  }
}