Author Topic: User state not selected in dropdown list on card, but is in userdetails.  (Read 467 times)

Lexiboy

  • Jr. Member
  • **
  • Posts: 65
    • Lemongrass House Moscow
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?


With kind regards,
Alex Stienstra

jenkinhill

  • UK Web Developer & Consultant
  • Global Moderator
  • Super Hero
  • *
  • Posts: 26993
  • Always on vacation
    • Jenkin Hill Internet
Re: User state not selected in dropdown list on card, but is in userdetails.
« Reply #1 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.
Kelvyn

Jenkin Hill Internet,
Lowestoft, Suffolk, UK

Unsolicited PMs/emails will be ignored.

Please mention your VirtueMart, Joomla and PHP versions when asking a question in this forum

Currently using VM 3.4.0.9935 on Joomla 3.8.12 PHP 7.0.31
Testing VM 3.4.0.9941 on Joomla 3.8.12

Lexiboy

  • Jr. Member
  • **
  • Posts: 65
    • Lemongrass House Moscow
Re: User state not selected in dropdown list on card, but is in userdetails.
« Reply #2 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.
With kind regards,
Alex Stienstra