Hi,
PS 8.1.7
While not intending to change currency decimal for the entire shop (Localization > Currencies > Decimals) is it possible to increase the decimals of the Unit Price on the invoice? I have now currency decimals set to 2 but would like to have product unit price displayed with 4 decimals because when the quantity discount is applied the price often has more decimals than 2.
I believe this is the part on the invoice (invoice.product-tab.tpl)
{displayPrice currency=$order->id_currency price=$order_detail.unit_price_tax_excl_including_ecotax}
I tried changing it to:
{displayPrice currency=$order->id_currency price=$order_detail.unit_price_tax_excl_including_ecotax|sprintf:"%.4f"}
and
{displayPrice currency=$order->id_currency price=$order_detail.unit_price_tax_excl_including_ecotax precision=4}
but no effect.
Is it possible somehow?