VirtueMart Forum

VirtueMart 2 + 3 + 4 => General Questions => Topic started by: limbotron on August 09, 2017, 10:29:16 AM

Title: VM3 - Add a simple cart select variant by custom fields.
Post by: limbotron on August 09, 2017, 10:29:16 AM
Hi all.
I try this example: "https://www.gjcwebdesign.com/joomla-virtuemart-tips/793-virtuemart-3-add-a-simple-cart-select-variant-by-custom-fields.html".
But my price not change when i selected from drop down select.
Why?
Title: Re: VM3 - Add a simple cart select variant by custom fields.
Post by: Jumbo! on August 09, 2017, 20:31:27 PM
There may be some JavaScript errors in your site. Post the site link.
Title: Re: VM3 - Add a simple cart select variant by custom fields.
Post by: limbotron on August 09, 2017, 21:51:21 PM
My site is: http://joomla.bcon.lt/
Test product is e.g. http://joomla.bcon.lt/vandens-irenginiai/santechnikos-prekes/plastikine_virinama_ppr_vamzdyno_sistema-1/vamzdis-ppr-pn20-detail
or
http://joomla.bcon.lt/vandens-irenginiai/geriamo-vandens-sistemos/vandens-maisytuvai-kranai-geriamam-vandeniui-ro-kranai-ciaupai/vandens-maisytuvas-solid-copper-juodas-baltas-skaidrus-detail
Title: Re: VM3 - Add a simple cart select variant by custom fields.
Post by: Jumbo! on August 10, 2017, 12:54:43 PM
Your site is generating several JavaScript errors. It is loading three different versions of jQuery Library. See the Console of your browser where you will be able to see the errors. None of these errors are generated by VirtueMart. They are generated by your template and also by few other 3rd party extensions.  These errors do not allow VirtueMart scripts to work. You need fix them first. You may also take help of this extension to fix the jQuery library loading issue - https://extensions.joomla.org/extension/jquery-easy/
Title: Re: VM3 - Add a simple cart select variant by custom fields.
Post by: limbotron on August 10, 2017, 15:20:48 PM
Thanks on your answer.
I installed "jQuery Easy" extension and now i get different JS errors in my console.

Basic Site Option in jQuery Easy extension:
Enable jQuery - jQuery
Version - Joomla! framework
Title: Re: VM3 - Add a simple cart select variant by custom fields.
Post by: Jumbo! on August 11, 2017, 07:10:05 AM
You seem to have an extension called G2 which is generating this error. Disable this extension and check again.