Quoting Bill Fiore (suppressed):
> Hi Steve,
>
> I downloaded the new UPS tables but I have one problem, all of my
> weights are in ounces by default. Is there a particular place I can
> add a formula to convert ounces to Lbs?
>
Just add the source_oz parameter to your shipping.asc call:
upsg: UPS Ground
crit weight
at_least 4
adder @@TOTAL@@ * ($Variable->{UPS_ADDER_PCT} || .20)
ups 1
zone 450
source_oz 1
PriceDivide 1
table Ground
ui_ship_type UPSI
aggregate 1
surcharge_table Xarea
default_geo 45056
residential 1
min 0
max 0
cost e No shipping needed!
min 0
max 1000
cost u
min 150
max 9999999
cost e Too heavy for UPS
If you were making the call with the tag, you would add source_oz=1
as in:
[ups weight="[scratch weight]" source_oz=1 ...]
--
Mike Heins
Perusion -- Expert Interchange Consulting http://www.perusion.com/
phone +1.765.647.1295 tollfree 800-949-1889 <suppressed>
Find the grain of truth in criticism, chew it, and swallow
it. -- anonymous
_______________________________________________
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.