rounding - Magento - why setOriginalCustomPrice rounds price to 2 decimals? -
i want insert quotation cart , using function setoriginalcustomprice
$specialprice = '0.49716'; $item->setoriginalcustomprice($specialprice);
in cart inserted cost 0.50
any thought how set unit cost 0.49716 in cart ?
thanks
in database prices stored 4 decimals only by default currency precision set 2 decimals, , operations using option. can seek alter alternative 4 , maybe helps.
you can utilize free extension currency manager manage currency options.
magento rounding
No comments:
Post a Comment