Zen Cart Logo
If this is your first visit, check our documentation. To post, register or login.
Forums / Configuring the Zen Cart Admin / Managing Customers and Orders / Too many items in cart? Or is it too many attributes?

Too many items in cart? Or is it too many attributes?

Started by cabinetguy on 21 Aug 2011, 3:24 PM · Views: 3,661

Results 1 to 17 of 17
21 Aug 2011, 3:24 PM
#1
cabinetguy avatar

cabinetguy

Zen Follower

Join Date:
Feb 2008
Location:
Tx gulf coast
Posts:
126
Plugin Contributions:
0

Post #1 by cabinetguy

I have a problem with shopping cart when shopper puts too many items that have multiple attributes. I am running 1.39h and I have products with as many as 10 different attributes per product.

Right now, when customer or myself, for that matter, enters the eighth item, the cart first goes out of alignment to the template and then if you select checkout, the page just goes blank and that's it, no checkout.

I have attached a couple of screen captures to demonstrate.

I have this issue with all of this type of product and I cannot afford to limit my cart contents....can someone help?

If any other information is needed, let me know.

Keith

21 Aug 2011, 4:17 PM
#2
ajeh avatar

ajeh

Oba-san

Join Date:
Sep 2003
Location:
Ohio
Posts:
62,757
Plugin Contributions:
1

Post #2 by ajeh

If you look in your Zen Cart Admin at the Tools ... Server Info ... what are you showing from the:
Server Information
< stuff here>
PHP Version X.X.X

Linda McGrath
If you have to think ... you haven't been zenned ...

**Did YOU buy the Zen Cart Team a cup of coffee and a donut today? Just click here to support the Zen Cart Team!!**

Are you using the latest? Perhaps you've a problem that's fixed in the latest version: [Upgrade today!]
Officially PayPal-Certified! Just click here

Try our Zen Cart Recommended Services - Hosting, Payment and more ...
Signup for our Announcements Forums to stay up to date on important changes and updates!

21 Aug 2011, 4:19 PM
#3
cabinetguy avatar

cabinetguy

Zen Follower

Join Date:
Feb 2008
Location:
Tx gulf coast
Posts:
126
Plugin Contributions:
0

Post #3 by cabinetguy

Server Host: gator1073.hostgator.com (174.120.168.2) Database Host: localhost (127.0.0.1)
Server OS: Linux 2.6.38.7 Database: MySQL 5.1.52
Server Date: 08/21/2011 11:18:59 Database Date: 08/21/2011 11:18:59
Server Up Time: 11:18:59 up 56 days, 13:13, 0 users, load average: 12.98, 11.18, 9.86 HTTP Server: Apache mod_fcgid/2.3.6 mod_auth_passthrough/2.1 mod_bwlimited/1.4 FrontPage/5.0.2.2635
PHP Version: 5.2.17 (Zend: 2.2.0) PHP Memory Limit: 64M PHP Safe Mode: Off
PHP File Uploads: On Max Size: 64M POST Max Size: 64M
Database Data Size: 29,990 kB Database Index Size: 5,670 kB

21 Aug 2011, 4:25 PM
#4
ajeh avatar

ajeh

Oba-san

Join Date:
Sep 2003
Location:
Ohio
Posts:
62,757
Plugin Contributions:
1

Post #4 by ajeh

The load on the server is high ...

You might talk to your hosting provider about moving your site to a less loaded server ...

Linda McGrath
If you have to think ... you haven't been zenned ...

**Did YOU buy the Zen Cart Team a cup of coffee and a donut today? Just click here to support the Zen Cart Team!!**

Are you using the latest? Perhaps you've a problem that's fixed in the latest version: [Upgrade today!]
Officially PayPal-Certified! Just click here

Try our Zen Cart Recommended Services - Hosting, Payment and more ...
Signup for our Announcements Forums to stay up to date on important changes and updates!

21 Aug 2011, 4:31 PM
#5
cabinetguy avatar

cabinetguy

Zen Follower

Join Date:
Feb 2008
Location:
Tx gulf coast
Posts:
126
Plugin Contributions:
0

Post #5 by cabinetguy

so, you think this is load related?

21 Aug 2011, 4:51 PM
#6
ajeh avatar

ajeh

Oba-san

Join Date:
Sep 2003
Location:
Ohio
Posts:
62,757
Plugin Contributions:
1

Post #6 by ajeh

Partially ...

There can be other factors but the first is the load on the server ...

Can you turn on your parse times?

Linda McGrath
If you have to think ... you haven't been zenned ...

**Did YOU buy the Zen Cart Team a cup of coffee and a donut today? Just click here to support the Zen Cart Team!!**

Are you using the latest? Perhaps you've a problem that's fixed in the latest version: [Upgrade today!]
Officially PayPal-Certified! Just click here

Try our Zen Cart Recommended Services - Hosting, Payment and more ...
Signup for our Announcements Forums to stay up to date on important changes and updates!

21 Aug 2011, 5:13 PM
#7
cabinetguy avatar

cabinetguy

Zen Follower

Join Date:
Feb 2008
Location:
Tx gulf coast
Posts:
126
Plugin Contributions:
0

Post #7 by cabinetguy

Parse Time: - Number of Queries: 3009 - Query Time: 0.38964174850464

if i try and click on edit cart, the page won't even totally load, just as shown in the screen caps on the link...

21 Aug 2011, 5:33 PM
#8
ajeh avatar

ajeh

Oba-san

Join Date:
Sep 2003
Location:
Ohio
Posts:
62,757
Plugin Contributions:
1

Post #8 by ajeh

Go to the Configuration ... Layout Settings ... and turn off the Shopping Cart Totals just to see the affect of not doing the extra calculations ...

Shopping Cart - Show Totals
Show Totals Above Shopping Cart?
0= off
1= on: Items Weight Amount
2= on: Items Weight Amount, but no weight when 0
3= on: Items Amount

Linda McGrath
If you have to think ... you haven't been zenned ...

**Did YOU buy the Zen Cart Team a cup of coffee and a donut today? Just click here to support the Zen Cart Team!!**

Are you using the latest? Perhaps you've a problem that's fixed in the latest version: [Upgrade today!]
Officially PayPal-Certified! Just click here

Try our Zen Cart Recommended Services - Hosting, Payment and more ...
Signup for our Announcements Forums to stay up to date on important changes and updates!

21 Aug 2011, 5:42 PM
#9
cabinetguy avatar

cabinetguy

Zen Follower

Join Date:
Feb 2008
Location:
Tx gulf coast
Posts:
126
Plugin Contributions:
0

Post #9 by cabinetguy

Parse Time: - Number of Queries: 3465 - Query Time: 0.72650301528931
Parse Time: - Number of Queries: 3148 - Query Time: 0.53565443077088
Parse Time: - Number of Queries: 1735 - Query Time: 0.20878478173828

The third time is if I close my loaded cart and open a new one with a single item.

I cannot get the parse time from the other (full) cart because it prevents me from getting to the footer of the page when it freezes up.

21 Aug 2011, 5:52 PM
#10
cabinetguy avatar

cabinetguy

Zen Follower

Join Date:
Feb 2008
Location:
Tx gulf coast
Posts:
126
Plugin Contributions:
0

Post #10 by cabinetguy

if i remove one item with a bunch of these attributes, I get a workable shopping cart again with these times:
Parse Time: - Number of Queries: 52059 - Query Time: 7.0231287233277
Parse Time: - Number of Queries: 53647 - Query Time: 7.1890023490295
Parse Time: - Number of Queries: 51087 - Query Time: 6.5328909668731

Three different times with the cart with the one less item... the final time is when i click on "checkout"

21 Aug 2011, 6:17 PM
#11
ajeh avatar

ajeh

Oba-san

Join Date:
Sep 2003
Location:
Ohio
Posts:
62,757
Plugin Contributions:
1

Post #11 by ajeh

And if you turn off the Shopping Cart Totals with the 15 products in the cart?

Linda McGrath
If you have to think ... you haven't been zenned ...

**Did YOU buy the Zen Cart Team a cup of coffee and a donut today? Just click here to support the Zen Cart Team!!**

Are you using the latest? Perhaps you've a problem that's fixed in the latest version: [Upgrade today!]
Officially PayPal-Certified! Just click here

Try our Zen Cart Recommended Services - Hosting, Payment and more ...
Signup for our Announcements Forums to stay up to date on important changes and updates!

21 Aug 2011, 6:26 PM
#12
cabinetguy avatar

cabinetguy

Zen Follower

Join Date:
Feb 2008
Location:
Tx gulf coast
Posts:
126
Plugin Contributions:
0

Post #12 by cabinetguy

that is with it turned off

21 Aug 2011, 6:29 PM
#13
ajeh avatar

ajeh

Oba-san

Join Date:
Sep 2003
Location:
Ohio
Posts:
62,757
Plugin Contributions:
1

Post #13 by ajeh

You started with 15 products in the cart ... and it was really slow ...

Now, if you have the 15 products in the cart and the Cart Totals off ... how does it "feel" to you ...

I am not following which times were with what ... the goal being the 15 Products in the Cart and let's just test things 1 at a time to see what helps speed things up etc.

Linda McGrath
If you have to think ... you haven't been zenned ...

**Did YOU buy the Zen Cart Team a cup of coffee and a donut today? Just click here to support the Zen Cart Team!!**

Are you using the latest? Perhaps you've a problem that's fixed in the latest version: [Upgrade today!]
Officially PayPal-Certified! Just click here

Try our Zen Cart Recommended Services - Hosting, Payment and more ...
Signup for our Announcements Forums to stay up to date on important changes and updates!

21 Aug 2011, 6:35 PM
#14
cabinetguy avatar

cabinetguy

Zen Follower

Join Date:
Feb 2008
Location:
Tx gulf coast
Posts:
126
Plugin Contributions:
0

Post #14 by cabinetguy

the problem arises, in this case when i enter 8 items with the attributes. At that point, i cannot go to checkout. If i look at the cart it will not fully load and seems to freeze.

I deleted one item with attributes and was able to fully load the cart. If i put the item back in the cart, i cannot fully load the cart again and cannot proceed to checkout.

I have customers right now that have more than 8 items in their carts totaling $1K and over who cannot "checkout" because the system freezes up due to the amount of attribute products in the cart. If i load products without attributes, I can put about as many in the cart as I would like with no problem at all.

22 Aug 2011, 5:36 PM
#15
cabinetguy avatar

cabinetguy

Zen Follower

Join Date:
Feb 2008
Location:
Tx gulf coast
Posts:
126
Plugin Contributions:
0

Post #15 by cabinetguy

So, I set the freight quote in the shopping cart to "0" (don't show) and uninstalled all shipping modules that are not normally used and this allowed the products to list out in the Shopping cart with a parse time of:

Parse Time: - Number of Queries: 11851 - Query Time: 2.3274363841553

If I try and go to "checkout" with this cart, it goes to a blank white screen with a url of xxx...main_page=checkout_shipping and that is it...

I used a real customer's cart which has 17 lines in it with 13 of them containing up to 10 attributes each.

Still cannot check out...any ideas?

22 Aug 2011, 6:19 PM
#16
lat9 avatar

lat9

Administrator

Join Date:
Sep 2009
Location:
Stuart, FL
Posts:
14,154
Plugin Contributions:
56

Post #16 by lat9

Make sure that each of your attributes is set to "No" for "Apply Discounts Used by Products Special/Sale" (unless you need that function); that will cut the database requests significantly.

23 Aug 2011, 6:13 PM
#17
cabinetguy avatar

cabinetguy

Zen Follower

Join Date:
Feb 2008
Location:
Tx gulf coast
Posts:
126
Plugin Contributions:
0

Post #17 by cabinetguy

Issue remains unresolved.

We are working with shipping and quotes to try and resolve. customers still cannot checkout with a large number of attributed items in cart. The checkout process just freezes up.

If anyone has any ideas, we will be glad to look into them.

Thanks