Site maintenance: Tuesday 17 Nov, from 10:00 UTC, about 4–6 hours. Details

This cutover relies on some testing that is still incomplete so may be cancelled at short notice

Forums / Built-in Shipping and Payment Modules / tare weight when working in grams

tare weight when working in grams

Locked

Started by lukeciw on 5 Nov 2009, 8:29 AM · Views: 2,423

Results 1 to 2 of 2
This thread is locked. New replies are disabled.
5 Nov 2009, 8:29 AM
#1
lukeciw avatar

lukeciw

New Zenner

Join Date:
Aug 2008
Location:
Hampshire-UK
Posts:
82
Plugin Contributions:
0

tare weight when working in grams

ok so i have a product weight in grams...
i have 3 set values (shipping fee) for 3 different weights,

but when i go to purchase a good i get a ridiculous final cost, and i know its due to the tare weight, but i just cant get my head around it.

assuming that the consequent values are:
item value=350
items >=100grs then shipping is 8.882.54%
items>=250grs then shipping is 9.90
2.83%
items>=500grs then shipping is 11.55~3.3%
but these values in the tare weight i dont know are in grs or lbs, and are giving me incorrect values.

i should be getting this formula: item value+shipping for x weight if weight >=y

6 Nov 2009, 3:24 AM
#2
rodg avatar

rodg

Deceased

Join Date:
Jan 2007
Location:
Australia
Posts:
6,263
Plugin Contributions:
4

Re: tare weight when working in grams

lukeciw:

but these values in the tare weight i dont know are in grs or lbs, and are giving me incorrect values.

The "values" in the tare weight are simply 'numbers' or 'units'. They are neither grs or lbs.

It is the shipping module(s) that actually determine what these numbers/units actually signify.

In other words, if your shipping module works in grs, then the number in the tare weight will also be grs. However, if the shipping module uses 'lbs' then the number in the tare weights will also be considered as 'lbs'.

The other thing to keep in mind is that the textual display 'grs' or 'lbs' really is only a text display. It doesn't have any relationship to the actual numbers..

This means that if your shipping module is working with (or expecting) the weights to be in 'lbs' then that is exactly what it will be quoting for. If you change the 'lbs' text display to 'grs' the shipping module will still be quoting in 'lbs' because that is all it 'knows'.

Hopefully this clarifies rather than confuses.

Cheers
Rod

NOTE: We are sorry that Rod is no longer with us.
We are grateful for all his contributions to the Zen Cart community.

Ozpost - The Ultimate Shipping module for Australian Merchants. Click these links for its Homepage, or Download from Zen-Cart.com.