• Resolved jorgerodriguez18

    (@jorgerodriguez18)


    Good morning.
    In the thin of simple product I have a function in functions.php so that I get the price with Tax and price without Tax.
    In a bundles product, it doesn’t work for me, as I could do to make it work the same way.
    I enclose the function I have for the simple product

    function bbloomer_price_translatable_suffix( $html, $product, $price, $qty ){
    $html .= ‘<div class=”texto-con-iva”>’.__( ‘price with Tax: ‘).wc_price( wc_get_price_including_tax( $product, array( ‘qty’ => $qty, ‘price’ => $price ) ) ).'</div>’;
    return $html;
    }

    add_filter( ‘woocommerce_get_price_suffix’, ‘bbloomer_price_translatable_suffix’, 2, 4 );

    Thank you

Viewing 1 replies (of 1 total)
  • Plugin Author WPClever

    (@wpclever)

    Hi @jorgerodriguez18,

    Since your request is kind of technical, so please kindly visit this page to find our support center address there and send a ticket to our developers directly so that they can have a look at the code and everything else. If you have a customer ID, kindly insert it at the beginning of your ticket. Our devs will get you some help quickly.

    Best regards.

Viewing 1 replies (of 1 total)
  • The topic ‘Problem price tax’ is closed to new replies.