3 replies [Last post]
gizmatix's picture
Offline
Joined: 09/09/2008
Juice: 159
Was this information Helpful?

I wanted to be able to view previous and next products based on the category they are listed under. I haven't found a module or any useful information looking through the forums. Even just a pointer of where to start would be great. Thanks

Lyle's picture
Offline
AdministratoreLiTe!
Joined: 08/07/2007
Juice: 6846
Views. There's your pointer,

Views.

There's your pointer, but here's a little more explanation. You'll need to set up a View that filters nodes on "Is a Product", with an argument based on the taxonomy term. Then, you'll set it so that it includes a pager, and only shows one node per page. I'm pretty sure there's a way to get Views to display the entire node, like on its page, instead of the grid or table row style.

gazzooid's picture
Offline
Joined: 05/19/2010
Juice: 12
Re: Views. There's your pointer,

I've tries this for days and connot work on it...
Can you explain much more as I'm such a newbbie in drupal and ubercart... +_+

ghumpley's picture
Offline
Joined: 06/03/2010
Juice: 15
Re: How can i add previous and next function to product pages?

Have you looked at Custom Pagers?

http://drupal.org/project/custom_pagers

After setting up your views you could enable a custom pager for your products which would then add previous and next links to your product nodes.