Shopware offers you several settings for the listing. Here you get an overview of the most important functions, such as the categories / lists, individual filters & sorting and variants in the listing.
These settings determine how product lists will appear in the frontend. You can find this window by following Configuration > Basic settings > Frontend > Categories / lists.
You can create new filters and sortings to improve the user experience of your shop.
These following settings are compatible with any subshop. The handling however slightly differs from other subshop settings: In the basic settings you can set up all your favourite filters & sortings. Via the shop's categories you can define, which will actually be presented to your users.
The filters can be set up in the basic settings in "Frontend > Filter / sorting" in the "Filter" tab.
In the overview you can see all available filters. You can also see, which filters are active and whether filters are displayed in all categories by default. By clicking on a filter you can edit its preferences using the form on the right hand side and save it afterwards.
The option "Display in all categories" makes that particular filter appear in every single category by default. This way you will have to disable it later for every category you want to exclude. If you only want to apply your filter to specific categories, we recommend to leave this option unchecked.
By default Shopware holds the following filters:
Add attribute filters
By adding an attribute filter you can sort your items in the listing by a specific attribute field. In that case it doesn't matter in what way the attribute is configured.
Click the button "Add attribute filter", to create a new filter. On the right hand side, an empty form appears. Here you can adjust your settings:
Here you can make use of the following parameters:
Add combined filters
Combined filters use product streams or a list of items as their data source. They are prefiltered by a set of predefined filter conditions. Using the combined filter you can simply use a self-determined set of items as a filter condition in the listing.
Here you can make use of the following configurations:
With individual sortings you are able to offer a better customer experience by providing better sortings in the item listing.
The sortings are configured in the same module the filters are configured in. Just navigate to "Basic settings > Frontend > Filter / Sorting" and select the Sortings tab.
In this module you can see all existing sortings. Clicking an entry will refresh the form on the right hand side. Here you can edit and save the sorting.
By default Shopware holds the following sortings:
Add a new sorting
To add a new sorting, click the button "Add item". The form on the right hand side will reload to a blank one, where you can set your desired options:
The above described filter and sortings are set globally for your whole Shopware instance. To individualise these settings, go to the the categories' settings.
The settings tab is separated into two areas: filter and sortings. In each area you can set an individual sorting and a number of options to customise this category. This can be useful if you want to show or hide specific filters / sortings.
When manually activating one of the two, the options below will activate automatically, so you can choose your custom settings in this category. On deactivation, the options will be reset to default. This is a convenient way of rolling back the shop's default values.
By adjusting your settings, you can get rid of any options you don't want to use and set a desired sorting as default in the frontend. Note that the options will be restored when deactivating the option again.
By activating the checkboxes "Hide sortings" and "Hide filters" you can make the whole function disappear from the frontend. With the button "Apply to subcategories" you can apply the settings to all subcategories and accelerate your rollout.
Using the drag-and-drop symbol at the left of the options list you can easily arrange the options in an order you prefer.
Here is described how you can configure the appearance of your variants in the listing. Using this feature, your customers are able to see the right variant in the listing directly. This way they don't need to open the main article anymore.
In this context we distinguish the simple filter from the "Expand"-feature. Filtering' means that Shopware shows you the product variants depending on your selection of the configurator options (not like before using item properties). Expandingdescribes that the product variants, which match your selected filters, are displayed seperately in the listing as an own variant.
However, please keep in mind: If your product is multidimensional (e.g. clothes: color and size) and you filter by the color blue, Shopware will show you a variant box with the info "Color: blue". However, because of the fact that the color blue has multiple sizes, this is no a specific variant. It will be displayed as a selection of all variants with the color blue. A specific variant is shown only in the case when the user filters by all configurator options the product possesses, e.g. color: blue and size: L.
If you currently use properties to filter your listing, you may get duplicate filter by activating expanded variants, because color e.g. is a property and an active expanded variant filter. To avoid this duplicates, you should search your listings for this duplicates. We recommend to use the expanded variants and deactivate the properties to get a cleaner filter panel for your customer and to let your customer see the variant after filtering instead of the whole product.
Expanding variants will cost performance because the listing has to handle much more datasets. For that reason, we advise not to expand all variant groups. Because filtering them may result in thousands of variants to load in the listing that causes the listing to be slower and generates a much lower user experience! So only expand variant groups when appropriate!
Up to Shopware 5.3 you were only able to filter by items properties. Those are a kind of describing tool for your customer to let him know, what the items properties are like. Since properties are attached to the whole product and not its variant, Shopware always shows the whole product after filtering. The variant selection must be done by the customer after clicking the result. Filtering by variants using this new feature will show the customer the filtered variant or variant group with its data, so the customer gets the related variant (-group) after filtering and may only refine his selection if needed.
You can find the settings for this option in Configuration > Basic settings > Frontend > Filter/Sorting:
In the tab "Filter" you can find the entry "Variants". Just activate it and choose the desired variant groups you want to filter in the listing:
After you choose your desired group, you can set the expand-option for each selection to enable the expand-option. Just click the red X to switch it to the green hook icon.
In the frontend you can execute the filter, doing that the products will be expanded depending on your settings:
The matching option is highlighted at the product box and the variant is preselected by Shopware, so the listing will directly show you the right variant with its image, as long you set an image mapping for it.