Jump to content

Slow cart when it comes to updating prices? Sometimes even shows incorrect amount.


-M-

Recommended Posts

This is something I have noticed several times. Apparently I am the only one who experiences this, because I couldn't find any threads/posts on this problem (or I am searching for incorrect terms).

 

When you select a server (or whatever product) and select configurable options it updates the pricing on the right (in the orderSummary).

 

When you select the configurable options to quickly it sometimes updates with the wrong pricing. It sometimes selects the default / basic price, instead the price of the selected option. I noticed this several times, but it doesn't happen always.

 

When it happens, the price is corrected nevertheless on the next page (viewcart.tpl), where you can overview your order, before actually placing the order.

 

It's not a big thing, but customer's might get the wrong idea when the cart shows a value/price which is incorrect and then it shows on the next page a "higher" price (which is actually the correct price).

 

My best guess is, is that it's related to javascript.

 

Does someone else experience this also? And is there a way to fix this?

 

Thank you in advance.

 

Regards

Link to comment
Share on other sites

fast internet connection + faster server response.

 

When you change something in configurable options, the page you are in will send AJAX request to get the price for the changes/chosen option, then maybe validate the response before apply it to the right side summary.

 

On the next page PHP will calculate everything already, it can not be handled by JS otherwise people can get things for free :)

Link to comment
Share on other sites

Weird... Because my connection is a fiber connection (500 Mbit) and the server on the datacenter is a hexa-core server with hardly any other accounts. Which even has a faster connection.

 

So don't know, but doubt that "fast internet connection + faster server response" is really the problem here.

 

Anyways, the only thing I can think of is that it's still on harddisks, however this server will be upgraded to SSD's soon. Maybe that will increase performance as SSD's are way faster than regular HDD in terms of access times.

Link to comment
Share on other sites

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.

Guest
Reply to this topic...

×   Pasted as rich text.   Paste as plain text instead

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

  • Recently Browsing   0 members

    • No registered users viewing this page.
×
×
  • Create New...

Important Information

By using this site, you agree to our Terms of Use & Guidelines and understand your posts will initially be pre-moderated