.woocommerce div.product span.price del { display: inline !important; text-decoration: line-through !important; } function remove_woocommerce_price_display( $price, $product ) { // Check if the product is simple and on sale if ( $product->is_on_sale() && !$product->is_type('variable') ) { return ''; // Returns an empty string to remove the default price } return $price; } add_filter( 'woocommerce_get_price_html', 'remove_woocommerce_price_display', 10, 2 );
Ingyenes szállítás 150 € értékű vásárlás felett!

testápoló