You are currently viewing the article on an older Shopware version!

Dynamic product groups

The dynamic product groups can be found in the admin under Catalogues > Dynamic product groups. Dynamic product groups are groups of products that are formed by dynamic rules and can be played at different locations in your shop.

Overview

In the overview, all already created product groups are listed with their name and description. The date of the last change and the status of the product group are also shown. The status indicates whether a product group uses valid rules and can therefore be used. A product group can be invalid, for example, if it uses rules of a plugin that is deactivated.

Using the context menu in the last column of each product group, it can be edited, duplicated or completely deleted. With the button create product group you add a new product group to the overview.

Create product group

Settings

To create a new dynamic product group, first enter a meaningful name and description in the settings field. Both are displayed in the overview for better orientation.

Filter

In the Filter area, you define rules through the corresponding module in order to determine which itmes  belong to this product group.
In this module, you first select a property (1) and a corresponding condition (2) that must be met.
Use the AND (3) button to create a further condition that an item must meet in order to belong to this group. In addition to an AND link, you can also create a further condition as an OR (4) link. In this case, one or the other condition must be met for the item to belong to the group.
You can also nest the conditions by using the SUB-CONDITION (5) button. In this case, an item is part of the product group if it meets the main condition and the sub-condition. The sub-condition can consist of one or more conditions. In the sub condition, you have the option of creating another sub condition. This can be continued indefinitely.
Using the context menu (6) behind the condition, you can create a new condition directly before or after the respective condition.
The Preview (7) button shows you all products that would belong to the dynamic product group with the currently selected conditions.

Operator

Examples

Below we list some examples of how a product group can look like. In general, the conditions of a dynamic product group are based on rules of the Rule Builder. You can learn how to use the rule builder here.

Product condition

In this case, the dynamic product group consists of the selected products.

Tag and sale condition

In this example, all products are part of the product group if you have set promotional items as the tag AND if they are sales items.

Price condition

In this example, all products that cost more than 100 euros are part of the product group. The value 100 refers to the currency, which has a factor of 1.

Stock condition

In this example, all products with a stock larger than 20 are part of the product group. 

Multiple conditions

In this example, two conditions must be met for an item to belong to this product group. Firstly, the article must be tagged as a promotional article.
The second condition is considered to be fulfilled if the article is either a sale article or an article from a specific manufacturer.


If you want to use several conditions and include just the operator AND, you should work with the operators Is equal to all of/ Is not equal to all of.

Custom field

In addition to the standard properties that are available in the drop-down menu, you can also use custom fields that you have configured yourself. In this example, an individual custom field of the type "Checkbox" is used, which was created beforehand. You can find more information about the additional fields here.

Assign dynamic product groups

Categories

You have the option to fill the content of a category dynamically. This is useful, for example, for sales or manufacturer-specific categories. You can find information on the administration of categories here.

Product comparison

In the product comparison, the dynamic product groups are needed to fill the feed with content. Here you can find more details about the product comparisons.

Shopping Experiences

In the shopping experiences, you can use dynamic product groups to fill product sliders. You will find the product slider element in the Commerce block category. You can find more information about the shopping experiences here.

Was this article helpful?