How to delete the price of the underline?

This topic contains 4 reply and 2 voices, and was last updated by mx 10 years, 6 months ago
Viewing 4 Posts - 1 through 4 (of 4 total)
Author Posts
May 23, 2014 at 7:10 am 20861
mx Hi, How to delete the price of the underline? Search less than < ins > < / ins >, unable to delete the price of the underline Thank you!
May 24, 2014 at 12:06 pm 20922
Sk Sk

Hello mx,

please use this following code.

add_filter( 'woocommerce_sale_price_html', function($price, $product){

    $tax_display_mode      = get_option( 'woocommerce_tax_display_shop' );
    $display_price         = $tax_display_mode == 'incl' ? $product->get_price_including_tax() : $product->get_price_excluding_tax();

    $price = wc_price( $display_price ) . $product->get_price_suffix();
    
    return $price;

}, 10 ,2 );

Thank you.

May 25, 2014 at 7:34 am 20988
mx mx This reply has been marked as private.
May 25, 2014 at 3:58 pm 21004
Sk Sk

use this css at the bottom of your dokan style sheet dokan/style.css

ins {
  text-decoration: none;
}

thank you.

May 25, 2014 at 5:48 pm 21006
mx mx

sk_shaikat
thank you!

Viewing 4 Posts - 1 through 4 (of 4 total)