On 09/12/2006 06:28 AM, Bruno Cantieni wrote: > Hi all. > I have a shipping method where I want the "Additional shipping calculation" > (padding) to be based on the total shipping weight. > The method is basically plain UPS ground, internal lookup with the "Total" > criteria set to "Weight". > I expected the following to work: > int((@@TOTAL@@/35)+0.5)*10 > Alas, @@TOTAL@@ in this case is actually the raw shipping cost before > padding, i.e. simply putting @@TOTAL@@ into the "Additional shipping > calculation" field effectively doubles the shipping cost :( > I'm curious if I misunderstand the @@TOTAL@@ usage? > I expected @@TOTAL@@ to be the shipping weight given the above setup. > > In the meantime, replacing the above formula with int(([weight]/35)+0.5)*10 > actually works as expected (I diddled my Ship.pm to interpolate ITL in > adder). What's your shipping.asc entry look like? Peter _______________________________________________ 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.