Skip to content

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

  1. Open a Shopping Experience and select the block.
  2. 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.
  3. Click Adjust visibility rules. The Visibility dialog opens.

Set a rule and schedule

FieldMeaning
Display ruleA rule from the Shopware Rule Builder. The block is shown only if the rule matches.
Visible fromStart time from which the block is shown.
Visible untilEnd time up to which the block is shown.
Reset scheduleRemoves 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.