Creating Product Display Pages
With Liferay Commerce, you can link individual store products with site pages to create dedicated display pages for each product. Quickly design layouts using out-of-the-box or custom widgets and fragments to display product details.
Follow these steps to set up a display page for your products:
-
Create a new site page in your store, and add the Product Details widget to it, along with any other desired page elements. See Building Content Pages for more information. This page determines the layout used for displaying any linked products.
-
Open the Global Menu (
), click the Commerce tab, and go to Store Management → Channels.
-
Select the desired Channel, click the Product Display Pages tab, and click Add (
).
-
Click Select Product, and choose the product you want to link to your new site page.
-
Click Choose under Product Display Page, select your new site page, and click e.
-
Click Save when finished.
This immediately establishes a relationship between the product and the selected page. Now, when users click on the product in your store, they are redirected to the product’s display page.
You can view and manage all saved configurations via the Product Display Pages tab.
When there are two layouts with the product details or category content widget on them, Liferay defaults to the first one listed in the layout list.