Home Forums WoodMart support forum Price/Sale Price not showing in cart and checkout Reply To: Price/Sale Price not showing in cart and checkout

#502130

Hello,

Sorry to say there are no options in theme settings to achieve this:

Try to add this PHP code in the child theme.

function my_custom_show_sale_price_at_cart( $old_display, $cart_item, $cart_item_key ) {

$product = $cart_item['data'];

if ( $product ) {
    return $product->get_price_html();
}
return $old_display;
}
add_filter( 'woocommerce_cart_item_price', 'my_custom_show_sale_price_at_cart', 10, 3 );

Try to use any 3rd party plugin at your own risk. We have never tested any plugin like this.
https://wordpress.org/plugins/woo-discount-price/

Best Regards.