< Back
Print

Fill Bundle and Variant tables from children

SAWS has developed a data model for bundle and variant products that allows bundle, configurable, variant and group products to be mapped in one table.
The individual products (simple product), which are created as children of the bundle or variant header, are automatically collected in the table for complex articles.

Step 1: Preparation:

Notice: You want to trade complex articles like bundle, configurable or virtual products, please activate the SAWS Datamodel for Complex Articles (If not yet done).

The SAWS Connector classes for bundles or variants are called “Magento Bundle Head”, “Magento Variant Head”, “Shopware Variant Class”, “WordPress Complex Head” and “OXID Variant Class” according to the product type and the shop system.

 

If one of these classes (depending on the shop or product type) is assigned to a product, the table for complex articles appears.

 

Please note:

You can find a guide on the configuration for bundled products for Magento in CS PIM here: Bundle products for Magento.

You can find a guide on the configuration for configurable products for Magento in CS PIM here: Configurable products for Magento.

You can find a guide on the configuration for grouped products for Magento in CS PIM here: Grouped products for Magento.

You can find a guide on the configuration for variant products for Shopware in CS PIM here: Variant products for Shopware.

Example: Magento Bundle:

 

 

The bundle or variant head must be of the correct product type.

 

 

Step 2: Create an active job

Navigate to “Active Jobs” in your CS platform:

 

The active job dialogue will open up. Define a name for your job, set a category and for “Script” select “SAWS Fill complex article tables automatically”.

 

 

The dialogue will reload and offer all parameters available for the script:

There are 2 options available for Filter of the products. One is filtering the products by classes and stations. The other one is filtering products via favorites. Those favorites allow you to only export or transform specific products / products with specific values:

Filtering products via favorites
Favorites can be configured in the PIM Studio :


When selecting ‘Filter of the products by favorites’ your created Favorites can be used to filter your products:


When running this active job using “Filter of products by favorites” your log should look like this if the job is configured successfully :


Filtering the products by classes and stations


When running this active job using “Filter of the products by classes and stations” your log should look like this if the job is configured successfully :


Label Description Example
Help Opens the Wiki SAWSConnector.saws.de with the description on how to create the active job. Description for “Fill Bundle and Variant tables from children”
PIM root folder (all children will be adopted to the complex products table if they comply with the criteria) Indicate the folder in the CSPIM product tree from which you wish to fill the table for complex articles. Demo
Filter PIM objects by this class Once the parent node of this class has all the necessary data, the children are added to the Complex Articles Table. SC_MAGENTOCLASS_BUNDLE
Additional attributes that should be loaded additionally (for project specific implementations for status, structure etc.) for project specific implementations Attribute xy
Select product types If the parent node has this product type, the children are added to the Complex Articles Table. Magento2.2.2.::bundle
Select the action to be carried out if a product cannot be found as a child in the table anymore Action to be carried out if a product cannot be found as a child in the table anymore  do nothing

If the job is now executed, the SC::Complex Product – table with the children (simple product) of the respective parent appears in the tab “SAWSConnector”.

 

 

This active job can be used for bundle, configurable, variant or group products to fill the complex article table.

Was this article helpful?
How can we improve this article?
Please submit the reason for your vote so that we can improve the article.
Table of Contents