Forums / Customization from the Admin / Limit number or items shown in cart

Limit number or items shown in cart

Started by moesoap on 31 Oct 2013, 11:31 AM · Views: 2,055

Results 1 to 8 of 8
31 Oct 2013, 11:31 AM
#1
moesoap avatar

moesoap

Zen Follower

Join Date:
Mar 2010
Posts:
258
Plugin Contributions:
0

Limit number or items shown in cart

Is there a setting in admin that can limit the number or items that are shown in the shopping cart. Something similar to the product listing, where you can limit number of items per page?

3 Nov 2013, 1:03 AM
#2
moesoap avatar

moesoap

Zen Follower

Join Date:
Mar 2010
Posts:
258
Plugin Contributions:
0

Re: Limit number or items shown in cart

hmm no response :huh: Take it this isn't possible without some custom coding?

3 Nov 2013, 1:13 AM
#3
stevesh avatar

stevesh

Black Belt

Join Date:
Feb 2005
Location:
Lansing, Michigan USA
Posts:
19,793
Plugin Contributions:
2

Re: Limit number or items shown in cart

Nothing built in. It would have to be coded. Are your usual orders so large that this is a problem ?

3 Nov 2013, 1:16 AM
#4
gilby avatar

gilby

Totally Zenned

Join Date:
Aug 2005
Location:
Vic, Oz
Posts:
1,816
Plugin Contributions:
0

Re: Limit number or items shown in cart

moesoap:

hmm no response :huh: Take it this isn't possible without some custom coding?Probably no response as you haven't explained why you would want to do this?
Most including myself have NO need to paginate the shopping cart page as most of my sales would only be a few items.

More info please?

Does your shop typically have customers who put many dozens of different items in their cart, So that the shopping cart listing is unmanageable?
or is their some "other" reason you want to do this?

To my knowledge their are no admin switches for this..
So yes it would appear to require custom coding.

3 Nov 2013, 1:26 AM
#5
moesoap avatar

moesoap

Zen Follower

Join Date:
Mar 2010
Posts:
258
Plugin Contributions:
0

Re: Limit number or items shown in cart

I am using the product attribute grid for a personalised embroidery clothing website. So for example if a customer chooses 5 small t-shirts in the colour green and 6 of the same t-shirts in medium, large etc - then my shopping cart displays them as individual products. We have price breaks for 1-4, 5-9, 10-19,20-50 so on...So with different combinations this can result in many products in the cart and destroys the page layout.

8 Nov 2013, 2:12 PM
#6
moesoap avatar

moesoap

Zen Follower

Join Date:
Mar 2010
Posts:
258
Plugin Contributions:
0

Re: Limit number or items shown in cart

It's usually the simplest methods that go unnoticed but for anyone else having this problem all you need to do is add max-height: and overflow: scroll; to the shoppingcart div in css. It's not ideal but it will resolve the issue.

8 Nov 2013, 2:38 PM
#7
gjh42 avatar

gjh42

Black Belt

Join Date:
Jul 2005
Location:
Upstate NY
Posts:
21,874
Plugin Contributions:
8

Re: Limit number or items shown in cart

Good thinking. If I had multiple screens' worth of shoppingcart content, I would actually prefer to scroll up and down to see them all, rather than have to click back and forth between pages.

8 Nov 2013, 9:55 PM
#8
moesoap avatar

moesoap

Zen Follower

Join Date:
Mar 2010
Posts:
258
Plugin Contributions:
0

Re: Limit number or items shown in cart

gjh42:

Good thinking. If I had multiple screens' worth of shoppingcart content, I would actually prefer to scroll up and down to see them all, rather than have to click back and forth between pages.

Thanks. I got so caught up in the cosmetic aspect of the site that the customers perspective and ease of use didn't even occur to me.