Page 1 of 1

number of items displayed on a page before hitting the next

PostPosted: Wed Apr 12, 2017 12:58 pm
by lneibauer
We have all custom templates and some of our pages are getting a little long and I want the customer to have the ability to either "A" set the number of products displayed on a page before hitting a "next" Page or "B" have the user select how many products are displayed on the page. Does anyone know what tags need to go into the page template to do this and is there a tutorial out there that I can look at that does this in shopsite. I know about the "Pageination" setting in the edit page layout section but I know I do not have the tags in my page template so it is not working. I would appreciate any help in this matter. Thanks in advance.

Re: number of items displayed on a page before hitting the n

PostPosted: Thu Apr 13, 2017 2:36 pm
by ShopSite Lauren
The tag you would use is [-- PrevNext --]. You can add "NoCenter" to remove the <center> tags around this code, [-- PrevNext NoCenter --].

Re: number of items displayed on a page before hitting the n

PostPosted: Fri Apr 14, 2017 6:39 am
by lneibauer
Thank you, I assume formatting is done through CSS?

Re: number of items displayed on a page before hitting the n

PostPosted: Fri Apr 14, 2017 1:46 pm
by ShopSite Lauren
You are correct.

The current page should be: <span class="currentpage"><b>##</b></span>
All others should be <span class="prevnext"><a class="prevnext" href="">##</a></span>

Re: number of items displayed on a page before hitting the n

PostPosted: Mon Apr 17, 2017 7:21 am
by lneibauer
Thank you, I did get it working as described :D