number of items displayed on a page before hitting the next

Questions and answers about ShopSite Custom Templates

number of items displayed on a page before hitting the next

Postby lneibauer » Wed Apr 12, 2017 12:58 pm

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.
lneibauer
 
Posts: 110
Joined: Tue Sep 30, 2014 7:13 am
Location: Warminster, PA

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

Postby ShopSite Lauren » Thu Apr 13, 2017 2:36 pm

The tag you would use is [-- PrevNext --]. You can add "NoCenter" to remove the <center> tags around this code, [-- PrevNext NoCenter --].
- ShopSite Lauren
Contact me for help with any of your
custom ShopSite template questions.
ShopSite Lauren
 
Posts: 889
Joined: Fri Aug 11, 2006 1:35 pm
Location: Orem, UT

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

Postby lneibauer » Fri Apr 14, 2017 6:39 am

Thank you, I assume formatting is done through CSS?
lneibauer
 
Posts: 110
Joined: Tue Sep 30, 2014 7:13 am
Location: Warminster, PA

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

Postby ShopSite Lauren » Fri Apr 14, 2017 1:46 pm

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>
- ShopSite Lauren
Contact me for help with any of your
custom ShopSite template questions.
ShopSite Lauren
 
Posts: 889
Joined: Fri Aug 11, 2006 1:35 pm
Location: Orem, UT

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

Postby lneibauer » Mon Apr 17, 2017 7:21 am

Thank you, I did get it working as described :D
lneibauer
 
Posts: 110
Joined: Tue Sep 30, 2014 7:13 am
Location: Warminster, PA


Return to Custom Template Questions

Who is online

Users browsing this forum: No registered users and 15 guests

cron