This topic is: not resolved
-
Dear, i need you to support me to solve an issue,
i think my code is not working with your plugin
please help me to recalculate tax field when price change
the code
//*
add_filter( ‘woocommerce_get_price_html’, ‘test’, PHP_INT_MAX, 2 );
function test( $price_html, $_product ) {
echo $price_html
. ‘
‘ . ‘Tax 7%: ‘ . str_replace( ‘amount’, ‘tax-amount’, wc_price( $_product->get_price() * 0.07 ) );the page