Since updating to Joomla 3.6.2 I have been having issues with registration.
I'm using VirtueMart 3.0.18, the registration is fine but when I go to add a mailing address and such it won't let me select a Province or State. The Province's and State's are all published and worked perfectly fine before the update.
Is there anything we can do to fix this issue?
it is always JS related.. without a live url no one can help you
www.karamat.com
Hi,
it's chosen jQuery script issue. You can try following:
1. Try to delete override for this view:
/templates/TEMPLATE_NAME/html/com_virtuemart/user/edit_address.php
or simply rename this file to for example:
/templates/TEMPLATE_NAME/html/com_virtuemart/user/OLD_edit_address.php
2. Add following script somewhere in head in your ./template/TEMPLATE_NAME/index.php file:
<script type="text/javascript">//<![CDATA[
jQuery(document).ready( function() {
jQuery("#shipto_virtuemart_country_id_field").trigger("chosen:updated");
}); //]]>
</script>
3. Or try to destroy chosen script for the state field and add following script somewhere in head in your ./template/TEMPLATE_NAME/index.php file:
<script type="text/javascript">//<![CDATA[
jQuery(document).ready( function() {
jQuery("#shipto_virtuemart_country_id_field").chosen("destroy");
}); //]]>
</script>
Otherwise you may need to contact template provider
Thanks,
Jason.
I do not have index.php in that folder, I have index.html. Would this make a difference? It's a template created on Artisteer, would it help recreating it?
Hi,
unfortunately, I don't know if recreating the template may help. I don't know how the templates from Artisteer works and what kind of changes to an original VirtueMart and Joomla HTML overrides they did to get the visual builder to work with it. The only I can recommend you is to try to contact Artisteer support and ask for the help.
Thanks,
Jason.
With artisteer templates it is usually difficult to work out what is causing problems, as the crapisteer system does not generate standard Joomla code.
Earlier GJC said "it is always JS related" and indeed it is here. The console error is:
TypeError: jQuery(...).chosen is not a function
http://www.karamat.com/shop
Line 76
You are loading an old version of jQuery and not loading any of the VirtueMart scripts. You also have jQueryEasy installed for some reason - a misconfiguration of this plugin can also cause chosen.js issues.
1. Disable jQueryEasy plugin.
2. Enable "Use jQuery chosen for dropdowns in FE" in VirtueMart configuration.
Now check again.
I have disabled jQuery Easy and set the VM confirguration to "use jQuery chosen for dropdowns in FE". Still no change.
You have also disabled "Using the Script ajax Countries/Regions" option in VM Configuration. You need to enable the same.