VirtueMart Forum

VirtueMart 2 + 3 + 4 => Administration & Configuration => Topic started by: likrish on November 13, 2019, 22:56:19 PM

Title: Shipping Address State dropdown empty
Post by: likrish on November 13, 2019, 22:56:19 PM
Hi,

I hope someone can help with this issue.
At checkout I have all the US states populated as expected in the drop down field for billing address, however I have none available in the State field for Shipping address??? Just -Select- and no options.

I am on the latest version of joomla and VM 3.4.5 10063

Am I doing something wrong? All countries and states are populated correctly in admin...
Title: Re: Shipping Address State dropdown empty
Post by: GJC Web Design on November 14, 2019, 08:52:08 AM
live site url?

Normally it is a JS error or debug on corrupting/preventing the ajax return
Title: Re: Shipping Address State dropdown empty
Post by: likrish on November 14, 2019, 15:13:14 PM
We have no errors in the console log on any of the tested browsers. We have also tested with the default Joomla templates and disabled all additional plugins. Billing address state field populates without issue (if this helps).
Title: Re: Shipping Address State dropdown empty
Post by: jenkinhill on November 14, 2019, 16:33:19 PM
VM 3.4.5 10063 was a development/test version. Maybe try the current VM release, 3.6.8  ( http://dev.virtuemart.net/projects/virtuemart/files ) on a backup of the live site to see if that fixes the issue.
Title: Re: Shipping Address State dropdown empty
Post by: GJC Web Design on November 14, 2019, 16:36:00 PM
does the ajax fire to fetch the states when u choose a ST country?
Title: Re: Shipping Address State dropdown empty
Post by: likrish on November 14, 2019, 20:08:59 PM
The country field for shipping address is not there... I only have a country select field for Billing which is set to automatically select USA
Title: Re: Shipping Address State dropdown empty
Post by: GJC Web Design on November 14, 2019, 22:13:56 PM
??  Enabled in shopper fields for  Show in shipment form ??
Title: Re: Shipping Address State dropdown empty
Post by: likrish on November 14, 2019, 23:07:40 PM
Brilliant! That WAS the issue!

It was that simple... Just needed to enable the country to show in the shipping form and the States list populated as expected...

Thank you!!!