Skip to main content

This site requires you to update your browser. Your browsing experience maybe affected by not having the most up to date version.

E-Commerce Modules /

Discuss about the various e-commerce modules available:
Ecommerce, SS Shop, SilverCart and SwipeStripe
Alternatively, have a look the shared mailinglist.

Moderators: martimiz, Nicolaas, Sean, frankmullenger, biapar, Willr, Ingo, Jedateach, swaiba, simon_w

Adding a Next/Previous Item to Product Pages


Reply


2 Posts   1327 Views

Avatar
zenmonkey

Community Member, 528 Posts

10 May 2009 at 2:26am

I was just wondering if there is a simple way to add "Next Item" "Previous Item" links to product pages. I'm bit of a coding newbie and I can think of a way to do by having Silverstripe generate the product list on each Product Page have a javascript search that list for the current page and build a links from the adjacent items, but it just doesn't seem like an elegant solution to me.

Avatar
eceers

Community Member, 24 Posts

12 January 2010 at 11:37pm

I just found this, which is a huge help http://doc.silverstripe.org/doku.php?id=recipes:previousornext