zip 0[value country] Never looked any deeper than that. --Does the zip item allow for interpolation? I can't seem to get [value country] to evaluate.
I did a pretty thorough debug of the Ship.pm module and found where the 0 was getting added to the front of the zone data.
It was in the make_three subroutine. The reason was pretty simple after studying the code.str_length needs to be in the main definition of the shipping mode like follows:
USPSGBX:USPS Global Express
crit weight
at_least 5
adder 3
ups 1
zone GlobalExpZones
PriceDivide 1
table GlobalExp
aggregate 40
ui_ship_type UPSI
str_length 2
min 0
max 0
cost e No shipping needed!
min 0
max 70
geo zip
zip country
cost u
min 70
max 9999999
cost e Too heavy for Global Express
All works now as it should.
Steve
_______________________________________________ interchange-users mailing list suppressed http://www.icdevgroup.org/mailman/listinfo/interchange-users
Mail converted by mhonarc 2.6.15
This archive provided courtesy of JSW4.NET, Internet Hosting Services for Small Business.