Editing Your Custom Content Layout for Compare Pages

If your store is not using the default content layout for Category List pages, you need to add some code to the page to support compare pages. You do not need to perform these steps if your store is using the default Category List page content layout. You can tell which content layout is the default by the icon next to the layout name. If a layout has the Digital River badge, it is the default.


  1. On the Storefront menu, select Store Builder, and click Manage Content Layouts. The Content Layouts page appears.
  2. Click on the content layout you created for category list pages. You can find this layout in the "Shopping" grouping, as shown below. Do not click on the default layout, you will not be able to edit this layout.

  3. Copy and paste the compare page tags below into the "page" element tag. You should place the "container" tag near the top of the page element, and the "checkbox" element wherever on the page you want the compare check box to appear. See example of a content layout with the compare page tags added.
  4. Tags to Copy Into Content Layout Page Element:

    <page:element type="compareContainer"/>

    <page:element type="compareCheckbox"/>

  1. Click Save.
  2. Deploy the content layout so the changes you have made are live on your store.

 

Concept Link IconRelated Topics

 

 


© 2019 Digital River, Inc.