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

Price/Sale Price not showing in cart and checkout

Viewing 4 posts - 1 through 4 (of 4 total)
  • Author
    Posts
  • #501926

    carlossilva.cs
    Participant

    Hello,

    in cart section and checkout, i don’t see the price / Sale Price .
    some customer think they don’t get the discounts.

    Can i show the discount on cart and checkout page in any way ? thank you !

    #501951

    Hello,

    Please check this Manual:|
    https://jeroensormani.com/showing-sale-prices-cart-woocommerce/

    Best Regards.

    #501966

    carlossilva.cs
    Participant

    Thank you Aizaz ,
    I tried but it works only with single products, not with variations. Any advice ?

    in any case, thanks for your sharing !

    #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.

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