BV Commerce Forum
»
BV Commerce Support
»
General Support
»
Large cart (many items) causing slow page loads
Rank: Member
Joined: 7/26/2004(UTC) Posts: 155
|
BV5 - SP3, all hotfixes. Customer is having alot of trouble ONLY when a visitor has a large number of items their cart. When the item qty hits the mark of 8 or more, page loads really slow down; at 12 items plu, it crawls. Not a problem with server hardware - there's hardly any CPU being utilized, and plenty of resources remaining.
In addition, customer has Manual CC chosen for payment, and these large carts error out on the payment step also.
Any one else seeing this?
Carts with a small qty of items fly thru.
I'll add to this that many of the products on this site have customer choices with them. Problem seems to be worse when choosing these custom-choice products, and not as bad when choosing simple items with no choices, although it still exists. |
|
|
|
|
Rank: Member
Joined: 4/30/2007(UTC) Posts: 383
|
You're doing better than us. We make it to 5 before the delay on each click is 15-20 seconds. With 7 products in the cart our site takes 15-20 seconds per page.
It's the way they have the viewstate set. 7 products with a few options each is around 42,000 characters worth of viewstate data which has to have something to do with it.
This has been discussed here many times and nothing is ever resolved. It can be duplicated on any BVC5 site having products with options.
|
|
|
|
Rank: Member
Joined: 8/17/2006(UTC) Posts: 681
|
Yeap. Same here. Actually if you add some marketing sales/promotions to several of your products the performance drops few times more as most of the tests are done in code in long loops and not in SQL. I've been trying to perf test SP3 for a while now but had hardly any time to do it. Viewstate usage is another item discussed so many times. Some of us modified our own sites to drop the viewstate but I think a change from BV is required and not from each of us. I can't install SP3 at all as I have to many customizations done to drop the viewstate and increase performance. |
|
|
|
|
Rank: Member
Joined: 4/30/2007(UTC) Posts: 383
|
This makes sense. What's scary from a merchant perspective is it presents as an error on the page. When the user clicks on an item or link with a stuffed cart there is an initial rapid movement of the progress bar then it completes like the page action is done. This confuses us so I'm sure it confuses customers. Another 10-15 seconds may pass before it actually goes to the cart or product page. Merchants will lose many customers in the wait time.
I didn't realize they were running loops in the code. That really explains it. It needs to be fixed, I think merchants need to demand a fix.
|
|
|
|
Rank: Member
Joined: 7/26/2004(UTC) Posts: 155
|
Thanks for the replies - this explains a lot. We ONLY upgraded to SP3 on this store to fix a PayPal issue where state sales tax was not being passed to PayPal in SP2; if I would have known this, I may have advised customer differently, especially RIGHT BEFORE THEIR MAJOR HOLIDAY PROMOTIONS! This is a serious flaw in the programming and does need a resolution for it ASAP.
It may be too late to save this customer - she's already said she's shutting the site down as she's at her last straw (there have been several bug issues with BV5 that took a long time to get release fixes for that have affected her store's ability to work for her as intended). It's a black-eye on our part, as we advised her to go with BV over another competitor.
But maybe we may be able to save our other BV5 customers who are not as affected by this and still have a little patience with things. |
|
|
|
|
Rank: Member
Joined: 7/26/2004(UTC) Posts: 155
|
I did a search on "Viewstate / Any Date" to review the earlier discussions mentioned, but am only getting 2 posts back on results. |
|
|
|
|
Rank: Member
Joined: 4/30/2007(UTC) Posts: 383
|
I know slow page loads for large carts were discussed before with the suggestion to trim viewstate. Cornelieu got to the heart of the problem, looping in the code versus SQL. Even 80kb won't slow down a broadband connection, it's the programming itself that causes the huge delays.
This will take a significant programming change to the cart which I don't see happening really fast. Hopefully they can do a rollup for Sp 3.5 sometime in January. I'm a little depressed today having gone through the holiday promotion season with major cart abandonments because of some of these issues. This one is not nearly as large for us as is the uneditable cart issue with custom urls.
Together though they make our sites collectively less appealing for users. Hopefully this will be a BV priority next week.
|
|
|
|
Rank: Member
Joined: 11/6/2003(UTC) Posts: 1,903
|
Randy,
The quickest way to help this and "weather the storm" is to remove the trip to the cart page on every product add. Just annunciate on the page that an item has been added to the cart and leave them on the same page. This will trim the viewstate a lot and save a lot of page loads. |
Noah |
|
|
|
Rank: Member
Joined: 7/26/2004(UTC) Posts: 155
|
Noah,
Thanks for the tip. Will try this today and see how it goes. This still would not resolve the issue of the errors on checkout when a large basket is in use however. |
|
|
|
|
Rank: Member
Joined: 4/30/2007(UTC) Posts: 383
|
It's a temporary fix, helpful, but won't help at all with the 20-30 second checkouts.
Overall we need a rewrite from BV to fix the problem.
|
|
|
|
Rank: Member
Joined: 2/21/2007(UTC) Posts: 1,113
|
Actually never had a complaint about this until AFTER 3.1 -- this morning. I wonder if something changed to slow things up. |
|
|
|
|
Rank: Member
Joined: 7/26/2004(UTC) Posts: 155
|
we are not on 3.1 yet on this site; we have done all HF's for 3.0 however. Customer only brought this to our attention when trying to fulfill pre-christmas orders from their wholesalers (wholesalers had called to say that they were having problems with site, hence passed on to us for investigation). |
|
|
|
|
Rank: Member
Joined: 4/30/2007(UTC) Posts: 383
|
It's REAL slow..this isn't a gripe it's almost unusable as the first poster states. The threshold seems to be 5 products with options, beyond that it can take a half minute between clicks. Noahs fix works, but having to wait 30 seconds to get to the cart when they are done shopping will likely only prolong the inevitable abandondment of the cart until that point.
|
|
|
|
Rank: Member
Joined: 7/26/2004(UTC) Posts: 155
|
I just a reply back from Marcus on my TT I have open on this. They are looking into the number of SQL calls and how it can be optimized. "This won't be a 24 hour hot fix and will most likely take a week or two to get sorted out." I'm confident they will be able to get this corrected very soon so these stores can get back to normal business again! |
|
|
|
|
Rank: Member
Joined: 4/30/2007(UTC) Posts: 383
|
As long as it's fixed everyone is happy, that's all we can ask. The old saying applies, measure twice cut once, would rather have it done right the first time.
|
|
|
|
Rank: Member
Joined: 2/21/2007(UTC) Posts: 1,113
|
A note to this -- it also is affecting entering large orders in the Admin (New Order) -- this is taking 25-30 seconds to reload the screen when you get over 10 items in the cart. So it has nothing to do with going to shopping cart page, images -- and I'm not sure if Viewstate is an issue in Admin or not. It must be a cost calculation issue. |
|
|
|
|
Rank: Member
Joined: 2/21/2007(UTC) Posts: 1,113
|
This gets even worse -- if the cart gets so large - I was just putting an order through for a customer and was adding the last item (count of 50) total cart contents has probably 300 items -- it times out and errors back to the default.aspx page -- it will not allow you to enter any more items to the cart. Since it errored, I can't even go back and edit the order -- have to start from scratch, not sure if I can even get the order through.
My "large" orders are rare, but I wonder how many aren't completing shopping. |
|
|
|
|
Rank: Member
Joined: 2/21/2007(UTC) Posts: 1,113
|
If it helps, I tried doing this same large order in Firefox and when the time to add new items got stretched out close to 1-minute I get the following error:
Bad Request (Request Header Too Long) |
|
|
|
|
Rank: Member
Joined: 11/5/2003(UTC) Posts: 1,786
|
Just to bring you up to speed on the issue. Right now we are still pinpointing the exact cause. Our leading theory is that a number of items are not getting cached correct so there are more database calls than needed to display the line items in the cart. We've been looking at SQL traces and the evidence appears to backup our theory.
We're hoping the issue can be fixed fairly quickly with a core patch that will correct cache items during cart loads.
|
|
|
|
Rank: Member
Joined: 2/21/2007(UTC) Posts: 1,113
|
Thanks Marcus
Also if it helps -- if you EDIT an order and add items, it goes really quickly -- doesn't seem to matter that there are already a number of items in the cart. |
|
|
|
|
Forum Jump
You cannot post new topics in this forum.
You cannot reply to topics in this forum.
You cannot delete your posts in this forum.
You cannot edit your posts in this forum.
You cannot create polls in this forum.
You cannot vote in polls in this forum.