Beta 4 : Checkout : Billing Info : Zone

Posts: 48
Joined: 11/29/2007
Bug Finder

Hello,

I noticed this bug a while back and it's been improved but there's still an issue with it.

When the page loads with New zealand as the country

Zone is blanked out

If i change DELIVERY zone to UK, then DELIVERY zone becomes available, but BILLING zone doesn't.

Then when i click 'My billing information is the same ...' the details update but

Billing zone is still disabled

Then i get an error saying i need to specify the billing Zone

______________________________________________________________

This whole setup is a bit complicated, I wonder whether it would be simpler if the zone is Always required for all countries. But for countries without zones the only available 'Zone' is called 'not required'.

That might get around the logic problems with the current setup.

Just a thought.

matt

Posts: 5367
Joined: 08/07/2007
AdministratorHead Code Monkey - I eat bugs.

Thanks a lot, sphism. Hadn't seen that issue pop up before. Smiling

I believe I nailed it by adding this line between lines 57/58 in uc_cart.js:

$('#edit-panes-' + target + '-' + target + '-zone').attr('disabled', $('#edit-panes-' + source + '-' + source + '-zone').attr('disabled'));

This has been committed. Let me know if this resolves the issue for ya, and enjoy your bug finder badge. Smiling

Posts: 48
Joined: 11/29/2007
Bug Finder

Sweet as, seems to work fine. Thanks for that.

i notice you got the breadcrumbs working properly on the products pages too. Great stuff

thanks

matt