WooCommerce 5.4.1 – Formatting price visually $product->get_price()
I need visually remove the decimal place (00) from the price and maintain only the comma or point after the first integer. E.g: $ 10, E.g: $ 7, This is the code: $retorno .= "<div class='cc_btn_checkout_container d-none' data-price='".$product->get_price()."'><div The object…