Creating a Product Details Page

The product details page displays all the information about a selected product. So far, you’ve only added the catalog page containing the product catalog, but you cannot select any of these products to view more details about them.

Creating a New Page

  1. Open the Product Menu (Product Menu), and navigate to Site BuilderPages.

  2. To add a child page, click Add (Add) next to the catalog page and click Add Page.

  3. Select the master page template.

  4. Enter the name as Product Details and click Add. This opens the new page in edit mode.

Customizing the Product Details Page

  1. Drag and drop a container on the page. Change the Container Width to Fixed Width.

  2. Go to the Styles tab and in the Spacing settings, choose Spacer 5 for the margin on the top of the element.

  3. Drag and drop the Product Details widget inside the fixed width container.

  4. Drag and drop a Heading fragment below the Product Details widget.

  5. Set the header title to Related Products.

  6. Go to the Styles tab and in the Spacing settings, choose Spacer 4 for the margin on the top and bottom of the element.

  7. In the Text settings, set the text alignment to center.

  8. Drag and drop the Product Publisher widget inside the fixed width container below the heading fragment.

  9. Click Actions (Actions) to customize the widget.

  10. Under Product Selection, select Data Source.

  11. From the Data Source drop-down, select Product Relations related.

The product details page displays more information about the selected product.

The product details page is ready to use now. Go back to the catalog page and click on one of the featured products to view more details about it. You can also view products related to the currently selected product in the related products section below it.

Next: Creating an Orders Page

Ask

Capabilities

Product

DXP

Contact Us

Connect

Powered by Liferay
© 2024 Liferay Inc. All Rights Reserved • Privacy Policy