[ic] thorny shipping problem

Murray Gibbins Murray@scotweb.ltd.uk
Wed, 14 Feb 2001 09:03:08 +0000


Guido Sohne wrote:
> 
> Hi,
> 
> I'm trying to configure shipping calculations in Interchange to differ
> from product to product. Products are divided into classes (six
> initially). Each class of product has a different shipping calculation
> that corresponds to a shipping method in Interchange.
> 
> I can add a field to the products table that specifies the class of the
> product but how do I tell Interchange to sum up the weight of products,
> keeping them separated along class lines, apply the appropriate
> shipping calculation (by weight) to each sum and finally sum up these
> totals to arrive at a final shipping cost ?
> 
> Any ideas from the gurus ?


http://www.morpheux.org/minivend/shipd/shipd.html

The above can be used to make shipping as complicated as you want.

-- 
  ____
  \__/    Murray Gibbins             murray@scotweb.ltd.uk
  /  \    Programmer
_ \__/ _  ================================================
\\ || //  Scotweb Limited,             info@scotweb.ltd.uk
 \\||//   13a Albert Terrace,    http://www.scotweb.ltd.uk
  \||/    Edinburgh EH10 5EA   Tel: +44 (0)  131 270 82 33
   ||     Scotland. Europe.    Fax: +44 (0) 7020  93 49 04