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>

Share This:

  [email protected]