[ic] Is it possible to adjust discount per customer group basis?

Mike Heins interchange-users@icdevgroup.org
Fri Jun 14 06:55:02 2002


Quoting Jani Tolonen (jani@mysql.com):
> Hi!
> 
> I'm using Interchange version 4.8.5
> 
> I'm looking for a way to set discount for all items per customer group
> basis. My idea was to use the 'Price Level' -labeled field in table
> 'userdb' (the real name of the field is 'price_level').
> 
> In the demo foundation this field contains values such as:
> 
> - Retail
> - Dealer
> - Distributor
> - Wholesaler
> - Small business
> - Large corporate
> - Private person
> - Governmental or educational
> 
> What I would like to do is to set a certain discount % to all of these
> groups and it would apply to all items.
> 

There is one example of this in the "tools" demo, actually.

You will notice there is one user who has the price_level field
set to "distributor". (login as test/test to see it.) That
causes a different Profile to be set (these are in etc/after.cfg)
and the last atom in the CommonAdjust is -10%. There can be
any number of these.

-- 
Mike Heins
Perusion -- Expert Interchange Consulting
phone +1.513.523.7621      <mike@perusion.com>

For a successful technology, reality must take precedence over public
relations, for Nature cannot be fooled. -- Dick Feynman