Problem in uc_taxes.js when I disable street address 2 (at admin/store/settings/checkout/edit/fields), I get an undefined error for s_street2.length.

Quick fix:
1/ use String(s_street2).length instead of s_street2.length
2/ change var s_street2 = $("input[@name*=delivery_street2]").val(); to

var s_street2 = $("input[@name*=delivery_street2]").val();
if (!s_street2) {
  s_street2 = '';
}

Comments

Island Usurper’s picture

Status: Active » Fixed

I'm sure that happens for all of the other address fields, too. Fixed for the next release.

cYu’s picture

Status: Fixed » Active

Looking at the latest bazaar code it looks like the following should be added....

if (!p_email) {
  p_email = '';
}

for checkouts with the customer information pane disabled.

Island Usurper’s picture

Status: Active » Fixed

Thanks.

Anonymous’s picture

Status: Fixed » Closed (fixed)

Automatically closed -- issue fixed for two weeks with no activity.