---
schema_version: "1"
id: d83ca3c264fc07f58b1d0e60a7f5f2392bd804e67ab3286412311c42dd131694
title: Manage Component Visibility on Product List and Product Detail Template Page Designer Pages
collection: admin
version: current
locale: en-us
portal_url: https://docs.salesforce.com/admin/current/en-us/cc/264-0-0/b2c_manage_component_visibility_dyn_pages.md
canonical_url: https://help.salesforce.com/s/articleView?id=cc.b2c_manage_component_visibility_dyn_pages.htm&release=264.0.0&type=5
source_site: help.salesforce.com
content_type: documentation
content_hash: 5d2e5f385941da909c8914dcdf52adb6faef836035cc26198348bd4ca3704bd9
description: On a B2C Commerce Page Designer 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.
products:
  - Commerce
  - B2C Commerce
release: "264"
---
# Manage Component Visibility on Product List and Product Detail Template Page Designer Pages

On a B2C Commerce Page Designer 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.

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.

1. From the visual editor, open the page.
2. Click a component.
3. In the right pane, click the arrow next to the component name, and select **Targeting**.
4. Under Categories, click **Assign**.
5. 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.
6. Click **Apply** to close the Select Categories window.
7. Click **Apply** to close the Targeting window.
8. Click **Save** or **Save & Close**.

#### See Also

- [Create Visibility Rules for Components (Video)](https://salesforce.vidyard.com/watch/RKbCtodF1YXq8gNBgGjkvV)