VirtueMart Forum

VirtueMart 2 + 3 => Templating & Layouts => Topic started by: Lexiboy on January 09, 2018, 15:23:29 pm

Title: User state not selected in dropdown list on card, but is in userdetails.
Post by: Lexiboy on January 09, 2018, 15:23:29 pm
Joomla 3.8.3
VM 3.2.10

I have selected one page checkout in the configuration. I tried this with and without "Use AJAX for IPC".

On the checkout page, the user state/region is not selected in the dropdown list and mentions -- please select--.
This happens, even though when you go to edit address, it is listed.

The list of regions/states is there and you can select the appropriate region.
But unlike the country list, when I look at the source of the page I can see that the list is not in the source, so seems to be added by Javascript/jQuery.

Can someone please help me solve this problem?


Title: Re: User state not selected in dropdown list on card, but is in userdetails.
Post by: jenkinhill on January 09, 2018, 18:38:10 pm
Check console for JavaScript issues, if nothing obvious there then try turning on VM debug to check for other issues.
Title: Re: User state not selected in dropdown list on card, but is in userdetails.
Post by: Lexiboy on January 09, 2018, 23:46:22 pm
So far I have found one strange thing.

When the front-end user is admin, the field is selected properly.

When the username is anything but admin, even if it is in the admin group, the field is not selected properly.