Has anyone experienced a page load problem due to having too many items in the cart at once?
I'm trying to figure out if this is something I can fix or if my host page load times are waaaay to slow(they have been having issues as of late.)
-lindasdd
Has anyone experienced a page load problem due to having too many items in the cart at once?
I'm trying to figure out if this is something I can fix or if my host page load times are waaaay to slow(they have been having issues as of late.)
-lindasdd
In your admin > config > logging > display parse times > set to on/true
Then check parse times for page loading
How many items are your referencing?
Post a link to your site
In one case 36.
l i n d a s d i e t d e l i t e s
Parse is relatively slow and this could be an issue for an order of 36 items
For your main page On refresh - after initial loading:
Code:Parse Time: 2.386 - Number of Queries: 923 - Query Time: 1.4274600215149 Parse Time: 5.523 - Number of Queries: 923 - Query Time: 2.1484110184326 Parse Time: 2.208 - Number of Queries: 923 - Query Time: 1.2579307396851 Parse Time: 3.787 - Number of Queries: 923 - Query Time: 2.2350553303833
First, your server seems a little sluggish.
Apart from the server being slow in general, there are a few things you can do to help cut down the work Zen Cart does in calculating things for your site:
There are already a lot of calculations being done to display your cart contents. Doing it repeatedly for several products takes time, and that time increases with more products in the cart. In v2.0 of Zen Cart, a lot of work is being done to make these calculations more efficient. In the meantime you will have some increased slowness with larger carts.
To minimize a lot of the slowness on the shopping cart page, turn off the shopping-cart sidebox when you're on the shopping-cart page: Admin->Configuration->Layout Settings->Shopping Cart Box Status --- SET TO 2
Also, in Admin->Configuration->Attribute Settings, there are some settings you can turn off if you're not using them, thus improving speed when attributes are used:Shopping Cart Box Status
Shopping Cart Shows when:
0= Always
1= Only when full
2= Only when full but not when viewing the Shopping Cart
Enable Price Factor
Enable Qty Price Discount
Enable Attribute Images
Enable Text Pricing by word or letter
.
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.
DrByte,
Excellent suggestions, especially the first one. I only recently added that sidebox and I can see how a double load of the cart on the shopping cart page would create a huge load.
-lindasdd
The biggest hog of resources I have found on the shopping cart page is having the shipping estimator displayed. If you have this displayed on the shopping cart page I would suggest changing it to just display the shipping estimator button instead (Admin -> Configuration -> Shipping / Packaging -> Shipping Estimator Display Settings for Shopping Cart = 1)
Regards,
Christian