Enable Product Cards on Search and Category Pages in a B2B Commerce Store
The Results Grid component and the Product Card component enable product cards to
display on the product list page. If you’re creating a store after the Summer ‘24 release, the
Results Grid component is configured by default. For stores created before Summer ‘24, you must
use Experience Builder to add the component and configure it.
In the navigation sidebar, select a store from the Store
dropdown.
Select Website Design, and then click Experience
Builder.
In Experience Builder, open the search page.
Replace the Results component with the Results Grid component.
On the main page canvas, select the Results component, and click the delete
icon.
Confirm that you want to delete the Results component.
From the Components panel, drag the Results Grid component into the page’s Results
section.
When you drag a component over a content or theme layout region, a label appears
to identify the region. Components in a theme layout region have the label “Shared”
added to the name because they’re shared everywhere that the theme layout region is
used. Components in a content layout region are specific to the page.
Edit the Results Grid component properties.
Go to the component’s Settings tab.
For Data Source, select Nested Expression.
For Expression, select Product Cards.
Add the Product Card component to the Results Grid component, and edit the Product Card
component properties.
The Product Card component enables products to show on the product list page.
From the Components panel, drag the Product Card component into the
sfdcRepeaterItem section of the Results Grid component.
Go to the component’s Settings tab.
For Data Binding, make sure that {!Item} is entered.
You must edit the Results Grid component properties again.
(Optional) Under Product Information Settings, select an
image hover action. On product listing pages, such as search results or the cart, this
setting controls what happens when a shopper hovers over a product image. If you
choose Image Rollover, make sure each product has a defined hover image.
(Optional) For Quick View, select Show quick view button to
display product details if a shopper hovers over a product card..
Make the same changes for the Category page.
Edit the Results Grid component properties.
Go to the component’s Settings tab.
For Expression Prefix, ensure that Item is entered.
If you change the Data Binding in the Product Card component, you must also update
the Expression Prefix in the Results Grid component to match.
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.