LemonStand Forum: help with category pagination - LemonStand Forum

Jump to content

Page 1 of 1
  • You cannot start a new topic
  • You cannot reply to this topic

help with category pagination

#1 User is offline   blues 

  • Member
  • PipPipPip
  • Group: Members
  • Posts: 30
  • Joined: 14-October 11

Posted 31 January 2012 - 06:29 AM

Hi

Somewhere down the line we seem to have broken the pagination on the category pages
strictly speaking it does works occasionally, but mostly not (which just makes it worse!)

the pagination links on the page are all OK, the next previous etc e.g.

/sweaters/mens/3/

But when you click on it, you just get the first page again.

I can't find where the code is (or should be) in order to process that suffix, so I'd appreciate any pointers to know where to look for the problem
0

#2 User is offline   Manca 

  • Developer
  • Group: +Administrators
  • Posts: 114
  • Joined: 02-September 11

Posted 31 January 2012 - 10:28 AM

Hi,

Looks like you're using nested category urls, which require a little update to the default pagination code. If you haven't yet, please implement the update described in the documentation.

Thank you

#3 User is offline   blues 

  • Member
  • PipPipPip
  • Group: Members
  • Posts: 30
  • Joined: 14-October 11

Posted 05 February 2012 - 11:09 AM

I'm just going to add that I posted my first 'real' support ticket relating to this issue and the help was fast (given Canadian Vs UK time!), friendly and very helpful, so a big thanks to Manca for helping us out!

Oh and if anyone is following the issue the answer is in the documention but it involves the fact that if you enabled sub categories then you need to change the shop:category code very slightly at the end,
from 'page_index'=>$this->request_param(1, 0)
to 'page_index'=>$this->request_param(-1, 0)
0

Share this topic:


Page 1 of 1

1 User(s) are reading this topic
0 members, 1 guests, 0 anonymous users