Hello,
I think this can be categorized as bug report. If this is in the wrong category, please kindly move it to the appropriate section.
For the specs requirement, my installation has to use Indonesian Rupiah as the default currency. The item in this example is worth Rp. 500.000 (we use period as separator as opposed to comma). As you can see in the attached screenshot, the unit price and the total for the line item are wrong, but the order total has the right number. I checked other places (such as Drupal Commerce Reports), and I only found the wrong number in the individual order page and the edit page of the said item. I think it adds two extra zeroes for the cents, but the formatting is somehow messed up.
Please let me know if there's a quick patch for this. Thanks.
Screenshot: http://i.imgur.com/p2Wwrfh.png
Comments
Comment #1
thekid commentedComment #2
thekid commentedAfter further checking, Drupal commerce is storing the wrong unit price in the database.
Comment #3
rszrama commentedI'm pretty sure this is just a configuration issue on your part. Drupal Commerce stores price values in the minor unit of a currency, not the major unit. In cases like this it's usually that a pricing rule is setting the price improperly somehow - like using a "Set a data value" condition to update the unit price without getting the price components into place. Let me know if you have any follow-up questions as you track it down.