Jump to content



Latest News: (loading..)

- - - - -

Split Shopping cart into pages?


This topic has been archived. This means that you cannot reply to this topic.
1 reply to this topic

#-19   jack_frost

jack_frost
  • Members
  • 194 posts

Posted 18 November 2011 - 12:48 PM

Is it possible to split the shopping cart into pages?

I would like the shopping cart to only display 6 items pr. page.

To me this seems like an easy task, but the things i tried did not work (at all)

Any one have an idea?

Best regards.

- Jack

#-18   Monika in Germany

Monika in Germany
  • Members
  • 4,901 posts

Posted 29 November 2011 - 07:59 AM

well, it can certainly be done .... very similar to the product listing or specials page paginating. You can look at the code there ...

you will need

- a parameter for where to split, hardcoded or a new configuration value in the database
- change the code to limit the resultset
- a bar for paginating (at the top, bottom or both) and the matching values

like I said, the example code is there for you to hack ...
:-)
Monika

addicted to writing code ... can't get enough of databases either, LOL!

my toolbox: Textpad - Compare and Merge - phpMyAdmin -  WS_FTP - Photoshop - How to search the forum

Interactive Media Award July 2007 ~ category E-Commerce
my advice on the forum is for free, PMs where you send me work are considered consultation which I charge for ...