1 Reply Latest reply: Jul 22, 2013 2:17 AM by Alex Pavelescu RSS

    Product pagination - online shop layout

    M. Henriksen Community Member

      I want to have a pagination both over and under the products in the overall layout. So I tried to set the tag for pagination over the products, and previous and next under. The one I put over the products didn't work. So I changed it, still the one over the products doesn't work. And I can't figure out why - or how to fix this. In fact I would have prefered to have both pagination and previous / next over and under the products, but according to BC, one can only use these tags once.  Can anyone help me?

        • 1. Re: Product pagination - online shop layout
          Alex Pavelescu Adobe Employee

          Hello,

           

          Could you provide an URL so we can check? Make sure you're using the tags in the overall e-commerce layout, also make sure you're setting a limit to the number of products displayed on a single page.

           

          Use {tag_productlist,u,v,w,x,y,z} where u is the number of products per row; v is the target frame, e.g. _blank or leave empty; w is the number of products per page (limit of 500 products per page); x is the sort type, e.g. Price, or Alphabetical; y allows you to hide empty message, e.g. 'this catalog has no products' and z is list type). Change: {tag_productlist,4} to {tag_productlist,4,,8,,,} to display a maximum of 8 products on a page.

           

          They should work fine, for example here's the code inside the overall template on a test site:

           

          <div class="category-products">

          <div class="products-list products-grid">{tag_pagination}

          <br />

          </div>

          <div class="products-list products-grid">

          {tag_productlist,4,,8,,,true}

          </div>

          </div>

          </div>

          <div class="body clear">  </div>

          <div class="footer clear">{tag_previouspage,<img alt="" src="/CatalystImages/module_previous.png" />} {tag_nextpage,<img alt="" src="/CatalystImages/module_next.png" />} <br />

          <br />

          </div>

           

          This renders the following: http://usatestap.aprebranded.tk/mens

           

          Kind Regards,

          Alex