Problem COD order amount
-
Hi,
I have a problem with orders that use COD: ue to more accurate price and tax calculations, I have set the decimal numbers in Woocommerce to 6. I then added the following function to only display 2 digits in backend and frontened:add_filter('wc_price_args', 'custom_decimals_price_args', 10, 1); function custom_decimals_price_args($args) { $args['decimals'] = 2; return $args; }
But the HL plugin still places 6 digits in the COD order amount and will then not create a shippng label. Even if I manually type in an amount with only 2 decimals, I am getting the error that no label can be created because there are too many decimals…
Viewing 7 replies - 1 through 7 (of 7 total)
Viewing 7 replies - 1 through 7 (of 7 total)
- The topic ‘Problem COD order amount’ is closed to new replies.