Drop down States not working during checkout

When entering the billing information during checkout, if the customer selects Canada as the country, then the required field for State/Providence disappears and there is no dropdown list to select the correct providence.  
It works fine for the state selection when United States has been selected.
 
Thanks for your help in advance.

  1. Profile photo of Cade BeckCade Beck 120.00 $tone September 2, 2015
    The code that is breaking the checkout process is below. Does anyone know which file contains this script so that I can update it?

    jQuery(document).ready(function(){
    jQuery('#billing').change(function() {
    if(jQuery('#billing option:selected').val() == "US") {
    jQuery("#region_id_select").css("display", "block"); }else{ jQuery("#region_id_select").css("display", "none"); } }); });
  2. Profile photo of tuan le vanKan Lee 11570.00 $tone September 4, 2015
    Hi Cade,This code is in the file app\design\frontend\default\jm_sporty\template\persistent\checkout\onepage\billing.phtmlBest regards,Kan

2 answers

This question is now closed

Written By

Comments