Hello,
I am a web guy working with Chris. The issue is related to call in the login URL to tmpl=component. This bypasses the "flexible" template for the modal that pops up for registration. For some reason that "State" selector populates fine when using the "flexible" template but not when it is bypassed.
As a workaround I changed the URLs in templates/MY_TEMPLATE/html/com_virtuemart/user/login.php
line 181 originally reads...
<a class="FlexibleResgiterButton font2 registermodal" href="<?php echo JRoute::_('index.php?option=com_virtuemart&view=user&tmpl=component&flexible=register&task=editaddresscart&addrtype=BT',$this->useXHTML,$this->useSSL) ?>" title="<?php echo JText::_('COM_VIRTUEMART_REGISTER_AND_CHECKOUT'); ?>"><?php echo JText::_('COM_VIRTUEMART_REGISTER_AND_CHECKOUT'); ?></a>
change to...
<a class="FlexibleResgiterButton font2 registermodal" href="<?php echo JRoute::_('index.php?option=com_virtuemart&view=user&flexible=register&task=editaddresscart&addrtype=BT',$this->useXHTML,$this->useSSL) ?>" title="<?php echo JText::_('COM_VIRTUEMART_REGISTER_AND_CHECKOUT'); ?>"><?php echo JText::_('COM_VIRTUEMART_REGISTER_AND_CHECKOUT'); ?></a>
line 190 reads...
<a class="FlexibleGuestButton font2 registermodal" href="<?php echo JRoute::_('index.php?option=com_virtuemart&view=user&tmpl=component&flexible=guest&task=editaddresscart&addrtype=BT',$this->useXHTML,$this->useSSL) ?>" title="<?php echo JText::_('COM_VIRTUEMART_CHECKOUT_AS_GUEST'); ?>"><?php echo JText::_('COM_VIRTUEMART_CHECKOUT_AS_GUEST'); ?></a>
change to...
<a class="FlexibleGuestButton font2 registermodal" href="<?php echo JRoute::_('index.php?option=com_virtuemart&view=user&flexible=guest&task=editaddresscart&addrtype=BT',$this->useXHTML,$this->useSSL) ?>" title="<?php echo JText::_('COM_VIRTUEMART_CHECKOUT_AS_GUEST'); ?>"><?php echo JText::_('COM_VIRTUEMART_CHECKOUT_AS_GUEST'); ?></a>
I think I am bypassing what is supposed to be a cleaner display of the form for a the modal. If there is a way to get the states working for the cleaner look I am game. In the meantime, the site is working passably.
Thanks