Zen Cart Logo
If this is your first visit, check our documentation. To post, register or login.
Forums / General Questions / General Questions / Can't Zen Cart handle +50 product Ids in the shopping cart ?

Can't Zen Cart handle +50 product Ids in the shopping cart ?

Locked

Started by sergiogold on 6 Sep 2007, 5:24 AM · Views: 1,631

Results 1 to 3 of 3
This thread is locked. New replies are disabled.
6 Sep 2007, 5:24 AM
#1
sergiogold avatar

sergiogold

New Zenner

Join Date:
Nov 2005
Posts:
21
Plugin Contributions:
0

Post #1 by sergiogold

we are using version 1.3.7

Today , I come across a new problem which is serious for those sites that handle large variety of items,.

I wonder if someone have a solution for this?

a customer adds + 60- 70 different products in the shopping cart.
I mean the number of products IDs, not the quantity per item.

so, the shopping cart is full with a very long list of items
( the problem start after about 50-60 product Ids).

the customer, already logged In, goes to view cart

then customer goes to next page to chose shipping ( this action goes pretty slow)

then, continue to next page, ( chosing payment, coupons, etc) , this action is IMPOSSIBLE, it never pass, this page TIME OUT.

Resuming , the customer CAN"T checkout, with so many items in the shopping cart.

We've tried at morning, at night , at afternoon, with hight speed internet connection, it doesn't work.

the hosting servers are fast and working well. Other sites ( not Zen Cart) on the same servers, even those with mysql database are working fast.

My programmers are telling me, they way zen cart works, that needs to read, load each item one by one , is probably the root of the problem.

I can't believe, ZC will have such limitation, that can't handle not even 100 product ids in one go.

Anyone knows of a solution for this ?

many thanks

6 Sep 2007, 5:35 AM
#2
yellow1912 avatar

yellow1912

Totally Zenned

Join Date:
Oct 2006
Posts:
5,422
Plugin Contributions:
0

Post #2 by yellow1912

It's probably just something with your site. mine goes through with no problem.
If you think of the capability of php and mysql, holding an array of like 1000 elements shouldn't be a big deal, and even if you loop through it, do some calculation and stuffs it would take less than a few seconds.

I no longer provide installation support on forum for all my modules. However, if there are real bugs with the modules please feel free to contact me

6 Sep 2007, 5:49 AM
#3
drbyte avatar

drbyte

Sensei

Join Date:
Jan 2004
Posts:
63,512
Plugin Contributions:
176

Post #3 by drbyte

There are some limitations in performance specifically when you've got a very large shopping cart containing items with attributes. v1.2.x was bad. v1.3 has noticeable improvements. The upcoming v1.4 is lightning fast by comparison due to some significant internal core reworkings with performance in mind. There's hope for the future.

In the meantime, you might consider ensuring that your database server has lots of memory available to it, both for active queries and for internal caching, and that all your tables' indexes are working properly.

.
Zen Cart - putting the dream of business ownership within reach of anyone!
Donate to: DrByte directly or to the Zen Cart team as a whole

Remember: Any code suggestions you see here are merely suggestions. You assume full responsibility for your use of any such suggestions, including any impact ANY alterations you make to your site may have on your PCI compliance.
Furthermore, any advice you see here about PCI matters is merely an opinion, and should not be relied upon as "official". Official PCI information should be obtained from the PCI Security Council directly or from one of their authorized Assessors.