Hi @webdevcolourstone,
Thanks for reaching out.
Here is the sample code which you can use to alter the decimal position in the documents.
add_filter('wt_pklist_alter_currency_decimal','alter_currency_decimal_point',10,5);
function alter_currency_decimal_point($decimal,$wc_currency_symbol,$user_currency,$order,$price){
$decimal = 2; // here the required decimal value
return $decimal;
}
Okay @webtoffeesupport it’s working. Thank you!
Hi @webtoffeesupport
Be great to see if invoice unit price can be 4 decimals with totals remaining as 2 decimal places?
Please see screenshot https://prnt.sc/obro1sNx_3Jn
Thank you!
Hi @webdevcolourstone,
Sorry to let you down, but we cannot help you with this requirement as the same filter is used for all price fields.