/** * Show normal price, new price and savings */ add_filter('woocommerce_get_price_html', 'cc_product_price_savings_format', 10, 2); function cc_product_price_savings_format($price, $product) { if ($product->is_on_sale() && $product->is_type('simple')) { $price = sprintf( __('