Adding Components to Page Variants
The Content tab of the detail view allows for explicitly assigning a component to a slot of a page variant.
For components to be visible in the storefront, the publishing period and the visibility period and priority must match.
Adding Existing Components
-
Select the management context from the context selection box, then select Content | Page Variants.
This opens the Page Variants list view.
-
Click the name of the page variant you intend to edit.
This opens the Content tab of the detail view.
-
Click Assign in the section of the target slot.
This displays the Assign Component dialog. Below the priority and visibility section, this dialog lists the available components. If necessary, you can restrict the result list specifying a name and/or a component type.
- Set the visibility period and priority as required.
- Select the components to be assigned to the slot.
-
Click Assign.
The components are added to the current page variant slot.
Adding New Component
-
Select the management context from the context selection box, then select Content | Page Variants.
This opens the Page Variants list view.
-
Click the name of the page variant you intend to edit.
This opens the Content tab of the detail view.
-
Click New in the section of the target slot.
This displays the New Component dialog.
-
Edit the component details as necessary.
Specify a name, edit the ID as required, select a component template, define the publishing period, and set the visibility period and priority.
-
Click Apply.
This creates the new component and opens it in the component detail view, ready for further editing, see Editing Components. To return to the page variant detail view, click Back to List.
Setting Component Priority
-
Select the management context from the context selection box, then select Content | Page Variants.
This opens the Page Variants list view.
-
Click the name of the page variant you intend to edit.
This opens the Content tab of the detail view.
-
In the Content section, use the arrow buttons in the Priority column to change the component priority.
Clicking an arrow button moves the corresponding component up or down, immediately changing the visibility priority.
Setting Component Visibility
To set the visibility of assigned components:
-
Select the management context from the context selection box, then select Content | Page Variants.
This opens the Page Variants list view.
-
Click the name of the page variant you intend to edit.
This opens the Content tab of the detail view.
-
Click the visibility date of the intended component.
This opens the Priority and Visibility dialog.
- Edit the component visibility period and priority as necessary.
-
Click OK to save the changes.
Otherwise, click Cancel to discard the changes.
Unassigning Components From Page Variants
-
Select the management context from the context selection box, then select Content | Page Variants.
This opens the Page Variants list view.
-
Click the name of the page variant you intend to edit.
This opens the Content tab of the detail view.
-
Select the assignment you intend to remove.
Select the checkbox of the intended component assignment in the Content section.
-
Click Unassign, and confirm the operation.
The selected component is unassigned from the current page variant.