[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

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


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
 
_______________________________________________
interchange-users mailing list
suppressed
http://www.icdevgroup.org/mailman/listinfo/interchange-users


Mail converted by mhonarc 2.6.15
This archive provided courtesy of JSW4.NET, Internet Hosting Services for Small Business.