[ic] Pricing question

Mike Heins interchange-users@icdevgroup.org
Thu Feb 6 15:00:01 2003


Quoting Denis Heinrichs (denis@cascadia.bc.ca):
> Hi,
> 
> Can anyone help me to find the best way to calculate the price based 
> upon the following criteria?
> 
> Each user has a pricing level (retail, level1, level2, level3) assigned 
> to them.

Interchange supports this absolutely via its pricing profiles. Look at
etc/after.cfg, then come up with something like:

CommonAdjust ':retail ;:retail'

Profile level1 { CommonAdjust => 'monthly:level1 ;:level1' }
Profile level2 { CommonAdjust => 'monthly:level2 ;:level2' }
Profile level3 { CommonAdjust => 'monthly:level3 ;:level3' }
Profile default { CommonAdjust => ':retail ;:retail' }

At that point, assuming you based your catalog on Foundation, you just need to
set the price_level field in userdb for each customer.

I do believe this is documented, and I do believe that many pointers to
this would have been found if you had searched for "price level" on
the web site.

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

"Even if you're on the right track, you'll get run over if you just
sit there." -- Will Rogers