Control block visibility
For every block you can define under which conditions or in which period it is shown in the storefront. Without a rule, a block is always visible.
Open the visibility rules
- Open a Shopping Experience and select the block.
- In the right sidebar, find the Visibility section with its current state:
- No visibility rules set – the block is always visible.
- Visibility rules active – rules are configured.
- Click Adjust visibility rules. The Visibility dialog opens.
Set a rule and schedule
| Field | Meaning |
|---|---|
| Display rule | A rule from the Shopware Rule Builder. The block is shown only if the rule matches. |
| Visible from | Start time from which the block is shown. |
| Visible until | End time up to which the block is shown. |
| Reset schedule | Removes the time settings. |
Rule and schedule can be combined: the block then appears only if the rule matches and the current time is within the selected period.
Create rules first
Display rules come from the Shopware Rule Builder (Settings → Shop → Rules). Create the rule there first if needed.
Save
Click Save in the dialog. The sidebar's visibility section then switches to Visibility rules active.
Effect in the storefront
The settings are evaluated when the page is rendered. If the rule does not match or the current time is outside the schedule, the block is not output in the storefront.