Close

Account

Documentation

Forum

Menu

Woocommerce – Show Cross-Sells & Related Products In Cart – FIX

  • Post count: 10
    nbrown94
    April 6, 2015 at 8:41 pm #10651

    Hello,

    If you would like to show cross-sells, up-sells and related products on your Woocommerce Cart Page, you’ll need to add the following:

    In the file jmagz-theme/woocommerce/cart/cart.php

    Add:
    <?php do_action( 'woocommerce_cart_collaterals' ); ?>

    directly above …
    <?php woocommerce_cart_totals(); ?>

    For example, the final lines of cart.php will look like this:

    If you’re using a child theme, place the updated cart.php in your child theme’s woocommerce/cart/ , of course.

    • This topic was modified 2 years, 8 months ago by  nbrown94.
    Post count: 156
    jegtheme
    April 9, 2015 at 1:17 am #10698

    hi nbrown94, thank you for your information. its very valuable information for us.

    Thank you

You must be logged in to reply to this topic.