Shipping Rate by Country?
Permalink Browser Info Environment
I see we can set a tax rate by state, and presumably by country. But is it possible to have a shipping option based on the country? For instance "US Shipping: $5; International Shipping:$10"
Thanks
Thanks
Type: | Discussion |
---|---|
Status: | New |
It seems that would apply a different tax rate based on country. But I'm looking to apply a different *shipping* amount for international orders.
Digging a little further, it looks like the place to do this might be to have in the Shipping settings an option for Advanced (Address) that would allow some script along the lines of:
if (this.Country = 'Canada') {return 10.95;} else{return 5.95;}
Is it possible to do something like that?
if (this.Country = 'Canada') {return 10.95;} else{return 5.95;}
Is it possible to do something like that?
Hi
You're close enough. Try this:
Hope that helps.
JZ
You're close enough. Try this:
if ( $('select[name="Country"]').val() == 'CA' ) { return 10.95; } else { return 5.95; }
Hope that helps.
JZ
That works perfectly. Thanks.
Good question.
Yes you can do so by keeping the state empty and that should default the rate country-specific.
Hope that helps.
JZ