[ic] questions about shipping

SAMCOM LLC Interchange interchange at samcompc.com
Fri Nov 11 15:49:22 EST 2005

Do you mind giving me the code that you have.

3120 NW John Olsen Ave. #4305
Hillsboro, OR 97124
Phone: (503) 690-9440
Fax: (503) 690-3578
-----Original Message-----
From: interchange-users-bounces at icdevgroup.org
[mailto:interchange-users-bounces at icdevgroup.org] On Behalf Of JT Justman
Sent: Friday, November 11, 2005 12:21 PM
To: interchange-users at icdevgroup.org
Subject: Re: [ic] questions about shipping

SAMCOM LLC Interchange wrote:
> Hello everyone, 
> I am wondering if there is something in interchange that will let you
> specify the length, width and height of a product so they can be used in
> shipping.
> The reason I am asking is because if you are shipping something with ups
> that is 40lbs without putting in the dimensions would cost $30 as an
> but if you put in the dimensions and it is really big box, then the
> will be a lot more.
> Any ideas


You are reffering to "Dimensional Weight" and we have a lot of bulky
items that end up using it.

My solution was to create a custom field on products called dim_weight,
and populate it for the item with the dimensional weight based on the

Dimensional Weight = (length x width x height)/194

Then in shipping.asc I use something like

criteria        <<EOF
	my $total = 0;
	foreach my $item (@$Items) {
		$total += $item->{quantity} * $item->{dim_weight} >
$item->{weight} ?
$item->{dim_weight} : $item->{weight};
	return $total;

What I actually use is more complicated, so I this is off the cuff and
probably won't work. The idea is to return the total of the bigger
weight column.


interchange-users mailing list
interchange-users at icdevgroup.org

More information about the interchange-users mailing list