[ic] Discount pricing within IC is not 2 decimals.

A L E N G I O . C O M info at alengio.com
Thu Jun 30 04:37:32 EDT 2005


Dear IC users,

Within the catalog.config there is a special line with allows one to implement a discount for distributors. The difference for dealer and distributors is therefore as follows:

Profile dealer <<EOR
{
CommonAdjust => <<EOF,
pricing:w5,w10:,
;:wholesale,
;:wholesale:mv_sku,
;$,
==:options
EOF
NonTaxableField => 'nontaxable',
TaxInclusive => 0,
}
EOR


Profile distributor <<EOR
{
CommonAdjust => <<EOF,
pricing:w5,w10:,
;:wholesale,
;:wholesale:mv_sku,
;$,
==:options,
-15%
EOF
NonTaxableField => 'nontaxable',
TaxInclusive => 0,
}
EOR


Although the dealer prices are 2 decimal figures (USD 0,00) the distributor prices are not 2 decimals. How can I change the code such that the distributor price is -15% and rounded to only 2 decimals?


Any advise would be very helpful.


Many thanks,
Pieter






-- 
No virus found in this outgoing message.
Checked by AVG Anti-Virus.
Version: 7.0.323 / Virus Database: 267.8.7/34 - Release Date: 29/06/2005
 


More information about the interchange-users mailing list