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 on the Commerce tab, and go to Store Management → Channels.
-
Select the desired Channel, click on the Product Display Pages tab, and click the Add button ().
-
Click on Select Product, and choose the product you want to link to your new Site page.
-
Click on Choose under Product Display Page, select your new Site page, and click on Done.
-
Click on 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’ll be 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.