Select Page
This entry has been published on 2013-07-22 and may be out of date.

Last Updated on 2013-07-22.

Problem

An unregistered customer tries to checkout (without login), but the wizard does not show the shipping info page automatically after choosing “ship to this address” and clicking the button – the user has to click directly on “shipping information” again afterwards which is not a behaviour the user expects.

Workaround

Using Microsoft’s IE debugger, you might see an error like

countryRegions is not defined.

According to this tutorial, simply add the following code before all existing code in /app/design/frontend/base/default/template/checkout/onepage.phtml:

 

 

<script type="text/javascript"> countryRegions = <?php echo $this->helper('directory')->getRegionJson() ?></script>