To configure, navigate in the Shopware backend to Settings → Basic Settings → Further Settings → Virtual Variants. There you will find the plugin settings. In the settings you will find two fields:
1. Name of the Variant Group
Enter here the name that should be displayed above the graphical representation in the frontend.
2. Matcher Attributes
Enter here the product attribute described above (column name of the free text field) which should unite the different products. Only predefined free text fields are supported, meaning that articles cannot be matched through custom free text fields.
3. Attributes for Sorting (optional)
Specify here an attribute that will be used for alphanumeric ascending sorting.
4. View in Frontend
Here you can choose whether the variants should be displayed as images or as a list.
5. Display Availability of Variants on Product Images
Here you select whether an availability indicator should be added to product images.
6. Variant Note (optional)
Offers the possibility to display a short note on product images. Technically, this is bound to a freely selectable attribute field from the 's_articles_attributes' table.
7. Variant Note CSS
Enter CSS here in JSON format for the variant note. The following CSS properties are supported: color, background-color, font-family, font-size, line-height, top. Additionally, there is the option to use 'fixed', set to '1', to prevent the note from being hidden.
Example for 2. and 6.: attr1, attr2 (Shopware standard attributes)
Alternatively, you can also create your own free text field under Settings → Free Text Field Management, which you can then populate.
Please use the column name!
Related Articles
| Related Processes |
|---|