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.

We're retiring the forums!

The SilverStripe forums have passed their heyday. They'll stick around, but will be read only. We'd encourage you to get involved in the community via the following channels instead:

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, Ed, frankmullenger, biapar, Willr, Ingo, Jedateach, swaiba

Adding a Next/Previous Item to Product Pages


Go to End


2 Posts   1576 Views

Avatar
zenmonkey

Community Member, 545 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