Manage Component Visibility on Product List and Product Detail Template Page Designer
Pages
On a Product List or Product Detail template page that uses category as its dynamic
attribute, you can configure which components appear on a page based on the category being
rendered. For example, specify that a certain component appears when the
category is women’s clothes and a different component appears when the category is
electronics. This topic applies to B2C Commerce.
Required Editions
Available in: B2C Commerce
A component appears on a page only if the category you target for that
component renders and all other targeting criteria for the component are met. For
example, you target a component for men’s shoes. You select the customer group Big
Spenders and a schedule that includes just the month of December. The component is
displayed on the page only when the category rendered is men’s shoes, the customer group
is Big Spenders, and the date is in December.
From the visual editor, open the page.
Click a component.
In the right pane, click the arrow next to the component name, and select
Targeting.
Under Categories, click Assign.
Select the categories for which you want the component to be visible.
Make sure you assign the categories you select to the page. Use the Add
feature to select any category, even categories that aren’t
assigned.
You target the component only for categories you explicitly select.
Subcategories are NOT implicitly selected.
If you select multiple categories, the component is visible whenever any of
the categories renders.
Click Apply to close the Select Categories window.
Click Apply to close the Targeting window.
Click Save or Save &
Close.
Did this article solve your issue?
Let us know so we can improve!
Loading
Salesforce Help | Article
Cookie Consent Manager
General Information
Required Cookies
Functional Cookies
Advertising Cookies
General Information
We use three kinds of cookies on our websites: required, functional, and advertising. You can choose whether functional and advertising cookies apply. Click on the different cookie categories to find out more about each category and to change the default settings.
Privacy Statement
Required Cookies
Always Active
Required cookies are necessary for basic website functionality. Some examples include: session cookies needed to transmit the website, authentication cookies, and security cookies.
Functional Cookies
Functional cookies enhance functions, performance, and services on the website. Some examples include: cookies used to analyze site traffic, cookies used for market research, and cookies used to display advertising that is not directed to a particular individual.
Advertising Cookies
Advertising cookies track activity across websites in order to understand a viewer’s interests, and direct them specific marketing. Some examples include: cookies used for remarketing, or interest-based advertising.