Configurable Products
Enabled
Enable or disable the functionality of configurable products.
Attributes Field
A comma-separated list of attributes used to construct the configurable products.
In order to map configurable (base) products to simple (sellable) products from Salsify to Magento 2, we need to supply Salsify products with a user created property to do so. In our example, we've created a propertymagento_configurable_attributes
with a valueparent_color
in Salsify. Then in Magento, we use Property Mapping to map the attribute:{ "Parent Color":"parent_color" }
In the Salsify payload, Sellable (simple) products have a property parent_id
that lets us know what Base (configurable) product it belongs to. Base (configurable) products do not contain this property. In our example, we are using the Sellable (simple) products color property to create different (simple) products in Magento.