My parent products have generic child variants. If I select one from the dropdown, the entire page gets reloadet, It takes about 2 seconds.
How to make it as fast as here (https://demo.virtuemart.net/product-variants/generic-child-variant-a-detail)?
YOu have to enable ajax feature in vituemart config.
Note ! in some case eg. some 3party plugins, templates ... you can have problems with the ajax features
Quote from: Studio 42 on May 11, 2015, 22:23:30 PM
YOu have to enable ajax feature in vituemart config.
Thanks, but where in the config? I found only this point:
config -> templates -> Activate Css Styles & Javascripts -> Using the Script ajax Countries / Regions
I dont think this is the right one and it doesn't help...
Quote from: Studio 42 on May 11, 2015, 22:23:30 PMNote ! in some case eg. some 3party plugins, templates ... you can have problems with the ajax features
I have tried it without plugins and with the beez5 template - doesn't work :(
What about this setting?: Use ajax for product content
In config/templates/Activate Css Styles & Javascripts
Hi,
Is it so hard to search for the word "ajax" in the config ? :)
Hello guys,
I have something similar: activate "Using the product Scripts" or any other option doesn't really help. It takes some time to reload the page.
BUT in addition I have a below problem:
I use Multi Variant for children. When I choose any option in Productdetails page some product information shows up from the parent, but not all.
(http://s020.radikal.ru/i714/1508/11/b3347fd12660.png)
I have marked info blocks that are not shown after first page reload. If I press F5 all remaining info shows up.
In addition: all info is there when you check page code but not visible.
(http://s019.radikal.ru/i635/1508/ef/04a29168f790.png)
Link to the page: http://388652.stagemsq.web.hosting-test.net/index.php?option=com_virtuemart&view=productdetails&virtuemart_product_id=16&virtuemart_category_id=3&Itemid=118
Can someone explain what is going on here?
VirtueMart 3.0.9
Joomla! 3.4.3
PHP 5.4.43
I think your template overides do not use same html markups, or some html tags are missing.
Any DOM error/missing can break the inserted HTML by ajax.
You're absolutely right.
But what tags (selectors) are necessary to make my template workable?
I've been trying add my own classes instead of creating template from the beginning.
Is there a list/link of css selectors or strict html-tree I should follow?
In addition: I use uikit from yootheme.
Thanks
You need to check against the default supplied templates - they obviously work...