Ajax functionality not working for multi variant dropdowns

Started by bigrich66, January 24, 2017, 14:22:12 PM

Previous topic - Next topic

bigrich66

Hi

I have created a Multi Variant Custom Field and applied it to a Product. I have then created 2 Product custom labels (Colour & Size) then added the associated children. The 2 labels(dropdowns) are displaying successfully in the front end next to the product.

However, both label dropdowns are not refreshing upon selection ie the Ajax function is not automatically selecting the 2nd dropdown box variable based on the selection of the first.

Looking at the VM demo (http://demo.virtuemart.net/multi-variant-detail) backend I see there is an option in the Custom Field setup to select 'Use ajax in browse view' as Yes. However in my setup there is no such option.

Might this be the problem or could it be something else?

Cheers all

Jörgen

Hello

Try this first Before You can expect any help.

http://forum.virtuemart.net/index.php?topic=79799.0

regards

Jörgen @ Kreativ Fotografi
Joomla 3.9.18
Virtuemart 3.4.x
Olympiantheme Hera (customized)
This reflects current status when viewing old post.

bigrich66

Apologies its been a while

VirtueMart 3.0.14

PHP Built On   Linux c9947.sgvps.net 3.12.18-clouder0 #3 SMP Thu Oct 20 14:54:11 EEST 2016 x86_64
Database Version   5.5.31-30.3-log
Database Collation   utf8_general_ci
Database Connection Collation   utf8mb4_general_ci
PHP Version   5.6.29
Web Server   Apache/2.2.24 (Unix) mod_hive/5.5 mod_ssl/2.2.24 OpenSSL/1.0.0-fips mod_auth_passthrough/2.1 mod_bwlimited/1.4 mod_fastcgi/2.4.6 mod_fcgid/2.3.6
WebServer to PHP Interface   cgi-fcgi
Joomla! Version   Joomla! 3.6.5 Stable [ Noether ] 1-December-2016 22:46 GMT
Joomla! Platform Version   Joomla Platform 13.1.0 Stable [ Curiosity ] 24-Apr-2013 00:00 GMT
User Agent   Mozilla/5.0 (Windows NT 10.0; WOW64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/55.0.2883.87 Safari/537.36

bigrich66

A live link is available below but because of dev restrictions I will need an IP address to add it to the allowed IPs


http://fairytaleendings.co.uk/shop/vm-category-layout/pia-michi-1667-detail

Cheers

bigrich66

Hi

I now have the 'Use ajax in browse view' option having updated VM to 3.0.18

However, having selected it as 'Yes' the functionality is still not working

Cheers

bortolani

Have you set the flag 'Allow legacy layout' under Virtuemart->Configuration->Templates ?



bigrich66

After much investigation I have finally pinned this down to the template I am using which is Themler based

I will update this post when I know more


jenkinhill

Kelvyn
Lowestoft, Suffolk, UK

Retired from forum life November 2023

Please mention your VirtueMart, Joomla and PHP versions when asking a question in this forum