Hi expert joomla users, sorry had been search a bit but really need some help,
Using joomla: 3.6
VirtueMart 3.0.18
In Joomla virtuemart for user registration form has country option and state option, if selcet USA then state will appear usa states options,does anyone knows how does virtuemart binding this event ?
I mean where could we find the related file code ? :'(
Cause My case is I want when a user click country as option = china, will show another input which request user write address in Chinese character
Thank you!!
Hello,
You can find state list from below file.
components\com_virtuemart\helpers\shopfunctionsf.php
function name is -> static public function renderStateList()
Best Regards,
hellorain.
Thank you Hellorain
I also found it's called by AJAX, so I could find the related action from this file:
/components/com_virtuemart/assets/js/vmsite.js