VirtueMart Forum

VirtueMart 2 + 3 + 4 => Virtuemart Development and bug reports => Topic started by: fale on May 04, 2015, 15:36:46 PM

Title: The problem with the Custom Field Type: Generic child variant.
Post by: fale on May 04, 2015, 15:36:46 PM
Hello,
I use the Custom Field Type: Generic child variant.
My configuration: Joomla! 3.4.1 + VirtueMart 3.0.8 + Apache 2.2 +PHP 5.4.38+MySQL 5.5

I noticed a strange thing. Problem: When you select the goods - very slowly there is a change of goods, the time for which the product is changing - 0, 5 -1 SEC.
If, during the product selection click "add to cart" - in the basket goes wrong item - from which you changed to another.
That is, if I'm on product A and product B choose - when you tap the "Add to Cart" added to the shopping cart - goods A. But should add the product B.
As a result, the buyer who clicks the mouse to quickly and easily select items - add to cart not what he needs. This is very bad.

Tell me what could be the problem? This is a mistake VM3? BUG? I want to understand how to fix it.

For clarity - I added a picture. Sorry for bad english (I use a translator)
Title: Re: The problem with the Custom Field Type: Generic child variant.
Post by: GJC Web Design on May 04, 2015, 15:48:55 PM
you need to look at the ajax calls when select the dropdown - find out why the return is so slow
Title: Re: The problem with the Custom Field Type: Generic child variant.
Post by: GJC Web Design on May 04, 2015, 16:05:01 PM
there is nothing wrong with it except your server response time - it takes any where between 2.5 and 3 secs to reload the child variant

if in that period you click the add to cart then of course the old one will be added

you need to speed up the server..
Title: Re: The problem with the Custom Field Type: Generic child variant.
Post by: fale on May 05, 2015, 02:52:54 AM
Quote from: GJC Web Design on May 04, 2015, 15:48:55 PM
you need to look at the ajax calls when select the dropdown - find out why the return is so slow

Thank you!

Please tell me, how do I do this? How can I test the ajax?
Title: Re: The problem with the Custom Field Type: Generic child variant.
Post by: GJC Web Design on May 05, 2015, 12:47:51 PM
In your case it isn't ajax sorry - I mentioned this before i looked at your site

It is a simple page reload and it is slow.. all the normal ways to speed up a server - but IMHO it all comes down to the quality of host server
crap server - crap speed