[ic] Dealer pricing

David Etheredge interchange-users@icdevgroup.org
Fri Oct 4 16:33:00 2002


I finally got dealer pricing to work (ALMOST). It works fine for q2, q5,q10
but it gives a price of $0.00 for 1 item (OUCH!).  I need to fix this
immediately. Please help.

>From After.cfg >>>>

Profile dealer <<EOR
{
 CommonAdjust => <<EOF,

  pricing:w2,w5,w10,w25:,
  ;:dealer,
  ;:dealer:mv_sku,
  ;$,
  ==:options
EOF
 NonTaxableField => 'nontaxable',
}
EOR

Profile distributor <<EOR
{
 CommonAdjust => <<EOF,

  pricing:w2,w5,w10,w25:,
  ;:wholesale,
  ;:wholesale:mv_sku,
  ;$,
  ==:options,
  -10%
EOF
 NonTaxableField => 'nontaxable',
}
EOR

Profile default CommonAdjust   "pricing:price_group,q2,q5,q10,q25
:sale_price, ;:price, ;$, ==:options"
Profile default NonTaxableField
Profile default PriceField 0

CommonAdjust   :sale_price, ;:price, ;$, ==:options
PriceField     0