[ic] how to calculate item-subtotal by the item price *and* packing unit

Kevin Walsh interchange-users@icdevgroup.org
Fri Aug 16 04:44:00 2002


> 
> I've the item price and the quantity. If 1 quantity of an item is in the 
> basket, the item-subtotal has to dispay the price like
> 
> 1 quantity * item-prive * packing unit (from the field unit)
> 
> For example a cake of soap cost 0.50 $. In the basket, it has to displays as
> 
> sku  description    Qt.(Unit)  price   unit   item total
> 1234 soap           1          0.50 $  72     36.00 $
> 
> Can I use CommonAdjust to calculate the item total with
> 
> price * quantity + field unit
> 
> ? My customer export his products table from his software and is not 
> able to set the price with 36.00$ instead of 0.50 $.
> 
Why not give multi-packs their own SKU, perhaps with their own pack
price.

If I buy six tins of cat food as a multi-pack, the package's bar code
(sku) is different from the individual tins inside.  This is how
the supermarket knows that I bought a multi-pack instead of picking
up six tins.

    sku      description     price    qty   item total
    1234-72  soap (72 pack)  $36.00   1     $36.00 

Just a thought, before you start creating a custom UserTag for use in
your CommonAdjust, which is the answer to your question, by the way.

-- 
   _/   _/  _/_/_/_/  _/    _/  _/_/_/  _/    _/
  _/_/_/   _/_/      _/    _/    _/    _/_/  _/   K e v i n   W a l s h
 _/ _/    _/          _/ _/     _/    _/  _/_/    kevin@cursor.biz
_/   _/  _/_/_/_/      _/    _/_/_/  _/    _/