Jump to content

Very slow loading of shopping cart page & Removing items


Recommended Posts

Hi.

 

The website is: www.dressmeupny.com

The system is: PrestaShop Ver. 1.4.9.0

The problem is: Very slow of loading the shopping cart page after click on the "Check Out" button at the Cart Block. Also, very slow removing/deleting an item/product from the Shopping Cart page when click on the X icon.

 

This happens with or without logging in. I tried to disable AJAX from the module, that caused of jumping to the Shopping Cart page with every item added to the cart... Not to mention that the problem of the speed didn't fix.

 

Any suggestions of what might cause it?

Edited by Yossefelbaz (see edit history)
Link to comment
Share on other sites

Godaddys servers have being going through a ddos this weekend. Did the problem just happen? Sorry, I missed the link. Disable your shipping options and see if the page is faster, more than likely that is your hold up.

Link to comment
Share on other sites

It seems to be the ups shipping that is taking the longest. Think about it this way, the way that you have the shipping set up when i click checkout, it queries the ups server. Then it queries the fedex server. Then it queries the usps server. Once it gets back with information from all of them it will show me your cart page. Its like loading 4 pages when pressing your cart page.

Link to comment
Share on other sites

More than likely I would guess yes. It is a server side issue and they are not a good hosting company. For most sites you are going to get better performance is your sql instance is hosted on the local machine versus another machine. I mean is that machine down the hall or across the country? Is some other site using it under heavy load? This is kind of where they get you. Most people think dedicated machine, it will all be my traffic. Which is not true with someone like godaddy. They host your database in their db farm with who knows how many other people. Plus the machines they lease are low spec to make up for that. http://www.godaddy.com/hosting/dedicated-servers.aspx?ci=9014 Look at their $200 a month server, single processor with 4 cores and 4gb memory. Now look at a reputable companies $139 server. https://order.webhostingbuzz.com/signup/plan/18176 4 processor with 4 cores and hyperthreading, which means it handles 32 processes compared to 4. Plus it is built on the xeon server architecture.

 

In short, godaddy is a big advertiser and they do not provide realist level of service for the cost

Link to comment
Share on other sites

What made you transfer from fatcow? I hate to say it, but I might consider moving somewhere else if I were you. I would contact a host and tell them your issue, and ask them if they could set you an account up for a day or two so you could see if things were faster. You wouldn't believe how many people will do things like that.

Link to comment
Share on other sites

One thing I take into account that I think some people do not, is where is your target market at? Getting a host close to your target market always helps in speeding things up. For that reason it is hard to say one host is better than another. If you are selling in australia an excellent US host is not your best option if you know what I mean.

Link to comment
Share on other sites

From experience in life i decided first to face GoDaddy support to see what they have to say. They showed me in the server's processes that when i click on Check Out it is spiking to 99% usage of the CPU and to almost 45% when removing items.

 

Now, the process that causing it is the PHP-CGI. They said i have to check the PHP or MySQL script, because something is wrong there.

 

Is it a BS or they can be right?

Edited by Yossefelbaz (see edit history)
Link to comment
Share on other sites

I've been with Godaddy for years and I guess I need to change very soon since the service is getting worse. For the last three days I've had issues with very slow db access. Can't tolerate it with a growing site anymore. They are not cheap either.

Link to comment
Share on other sites

Hey guys just a little input. There was many host over the weekend that got hit with ddos attacks and I for one was part of this and my site went down for a half hour. after many emails with my host they finally got my site back to normal.

 

DH42 is correct and he knows a lot about this stuff and I can assure you he knows what he's talking about. I for one wouldn't use godaddy they are to over rated.

 

Good luck and just so you know i am looking for a good vps host still :)

Link to comment
Share on other sites

Hi.

 

I have setup and tested the server couple of times. GoDaddy has very good servers, the only issue with them is the help when you are not paying for managing your server... You need to understand and do everything by yourself completely.

 

Now, i am still having the same problem, and i will explain:

When adding new item to the cart and clicking checkout it is very slow. The Net tab in FireBug (Firefox addon) showing times for Get quick-order between 15s - 20s. Now, if you'll just go outside the cart page and won't add any new item you'll get times between 1s - 4s when clicking checkout again.

 

Something make it work slow when the info is updating with new item... This is something in the script i'm sure. Mainly because it's an AJAX process...

 

Any suggestions?

Link to comment
Share on other sites

The only slow down I see is when something new is added to the cart and then it seems to be the quick-order module that slows down. It seems to reload a ton of js everytime something new is added to the cart. So my question is do you get this delay when not using the "quick-order" module?

Link to comment
Share on other sites

It's not a module? Your one page is not like my standard one page check out. To get what you have you must replace the standard one page check out. I like the way your checkout looks, but it needs to work as well. If it doesn't work, you can't really use it. Slow checkout will kill sales.

Edited by Bill Dalton (see edit history)
Link to comment
Share on other sites

Thanks, I did some changes with CSS and jQuery. In fact, i changed the whole template.

But it's the regular one page checkout.

 

The last change was to have the subject separated and hidden. This way i am planning to build a AJAX script to load the carriers and the account check after the page loads. This will keep customers even if there is delay like now.

 

But, i hope things will be resolved and i will have it fast as it should be.

Link to comment
Share on other sites

  • 1 month later...
  • 2 years later...

To whom encounter the same problem: Slow ajax response when checkout or add / remove items, I have solved this problem.

 

The cause of this problem is, it will execute modules that hook to "cart" when you try to do the above mentioned actions. and one of my module (affinity items) will be hooked. However this module has internal error and cause the response so slow.

 

So when I uninstall this module, everything runs smoothly! Cheers~

Link to comment
Share on other sites

  • 4 months later...
×
×
  • Create New...