Thanks Izantal, that works great! -RT
On Jul 26, 9:48 pm, lzantal <[email protected]> wrote: > Hi, > > On Jul 26, 10:01 am, RT <[email protected]> wrote: > > > I know this has been discussed before but it seems like it has been > > awhile. What is the status of pagination (say of search) in Satchmo. > > Is it easy functionality to attain? > > Yes it is. I'll dig up the code tomorrow to let the user select how > many product they want to display on the page Eg: Show 15, 30, 60. > I am using the pagination app http://code.google.com/p/django-pagination/ > . > Once you install it here is the pagination specific code from my shop/ > search.html template > """ > {% load pagination_tags %} > {% with results.products as products %} > {% autopaginate products %} > <ul> > {% for product in products %} > / more code here / > {% endfor %} > </ul> > <br /> > {% paginate %} > {% endwith %} > > Hope it helps > > lzantal > > > -RT -- You received this message because you are subscribed to the Google Groups "Satchmo users" group. To post to this group, send email to [email protected]. To unsubscribe from this group, send email to [email protected]. For more options, visit this group at http://groups.google.com/group/satchmo-users?hl=en.
