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've moved the forum!

Please use forum.silverstripe.org for any new questions (announcement).
The forum archive will stick around, but will be read only.

You can also use our Slack channel or StackOverflow to ask for help.
Check out our community overview for more options to contribute.

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   1841 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