• Howdy,

    I have a small problem with Woocommerce, namely: on a cart page the related products are not visible. It’s not CSS matter, it’s PHP rather:
    in <div class="cart-collaterals"> I have only <div class="cart_totals">, and <div class="cross-sells"> is gone completely. While on a product page, related products are visible.

    Since 2 days I’m trying to modify PHP files on my own, but – so far – couldn’t got the right solution. I’ve made some tests with

    add_action( 'woocommerce_cart_collaterals', 'woocommerce_cross_sell_display' );
    add_action( 'woocommerce_cart_collaterals', 'woocommerce_cart_totals', 10 );
    add_action( 'woocommerce_proceed_to_checkout', 'woocommerce_button_proceed_to_checkout', 20 );

    in PHP files, but failed.

    On an exact same page (a dev-domain, where I tested OceanWP theme importing dummy data), it worked perfectly fine out of the box.
    I think I won’t get it by myself, thus asking for help. It’s not critical functionality, but I’d like to have some related products on my cart page either.

    I’m using OceanWP, but it’s problem with Woocommerce, since on a different theme it also occurs.

    Thank You for Your help, in advance! ??
    Cheers! :))

    • This topic was modified 4 years, 8 months ago by benny99.
    • This topic was modified 4 years, 8 months ago by benny99.
    • This topic was modified 4 years, 8 months ago by benny99.
Viewing 1 replies (of 1 total)
Viewing 1 replies (of 1 total)
  • The topic ‘Related products on Cart page not showing at all’ is closed to new replies.