Portal Engine Questions on portal engine and web parts.
Version 6.x > Portal Engine > GetSKUFormattedPrice bug View modes: 
User avatar
Member
Member
snk1324 - 4/25/2012 11:40:39 PM
   
GetSKUFormattedPrice bug
GetSKUFormattedPrice rounds the price value, and shouldn't be.

Create a custom document type, with a ListPrice field, and set the document up as an e-commerce product, and link the price field to this ListPrice field. Create a document with a list price of 9.95.. GetSKUFormattedPrice will display 10, and not 9.95

User avatar
Kentico Developer
Kentico Developer
kentico_ivanat - 4/26/2012 3:56:48 AM
   
RE:GetSKUFormattedPrice bug
Hi,

could you please go to the CMS Desk - Tools - E- commerce - Configuration - Currencies - edit. Then please check configuration in Currency formatting string field (${0:F}) and Significant digits (2).

With above two settings I could see two decimal numbers.

Best regards,
Ivana Tomanickova

User avatar
Member
Member
snk1324 - 5/2/2012 10:36:54 PM
   
RE:GetSKUFormattedPrice bug
Thanks. That did the trick!