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?
There may be some JavaScript errors in your site. Post the site link.
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
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/
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
You seem to have an extension called G2 which is generating this error. Disable this extension and check again.