Zen Follower
- Join Date:
- Feb 2005
- Posts:
- 239
- Plugin Contributions:
- 0
Modify the Zone Shipping mod to use states instead of countries?
I want to set up shipping zones inside the US, by US State.
I expect this can be done by only modifying the english defines and this line (around line 134) in zones.php
$dest_country = $order->delivery['country']['iso_code_2'];
I just need to know how to get the 2 char state abbreviation out of the $order object.
Should this work? What are the variables to access inside the $order object?