• Johanna


    I’ve tried all different settings within the plugin, but suggested products wont appear in cart. All I get is the title appearing below the cart, but products image, price or anything dont show.
    What am I missing ?

Viewing 6 replies - 1 through 6 (of 6 total)
  • Plugin Author Dmytro Holovnia


    Hello Johanna,

    Please provide site url where we can see it in action?


    Thread Starter Johanna


    I have it only in local server for now… is there another way I could provide more details to help?

    Thread Starter Johanna


    I wonder if there is an issue with the php code in woocommmerce/cart/cross-sells.php ?

    if ( ! defined( 'ABSPATH' ) ) {
    global $product, $woocommerce_loop;
    if ( ! $crosssells = WC()->cart->get_cross_sells() ) {
    $args = array(
    	'post_type'           => 'product',
    	'ignore_sticky_posts' => 1,
    	'no_found_rows'       => 1,
    	'posts_per_page'      => apply_filters( 'woocommerce_cross_sells_total', $posts_per_page ),
    	'orderby'             => $orderby,
    	'post__in'            => $crosssells,
    	'meta_query'          => WC()->query->get_meta_query()
    $products                    = new WP_Query( $args );
    $woocommerce_loop['name']    = 'cross-sells';
    $woocommerce_loop['columns'] = apply_filters( 'woocommerce_cross_sells_columns', $columns );
    if ( $products->have_posts() ) : ?>
    	<div class="cross-sells">
    		<h2><?php _e( 'You may be interested in&hellip;', 'woocommerce' ) ?></h2>
    		<?php woocommerce_product_loop_start(); ?>
    			<?php while ( $products->have_posts() ) : $products->the_post(); ?>
    				<?php wc_get_template_part( 'content', 'product' ); ?>
    			<?php endwhile; // end of the loop. ?>
    		<?php woocommerce_product_loop_end(); ?>
    <?php endif;
    Thread Starter Johanna


    Actually, I think it’s an compatibility issue with WP 4.7 which I updated this morning. Shall I downgrade or will an update to the plugin be released soon ?

    Plugin Author RazyRx



    Please try to change “Style” option in plugin settings(Admin Panel->WooCommerce->Cart Suggestions) and check how it works with different styles.


    I’m having this same problem.

    The only thing that appears is the Suggestions Title but absolutely no product information will appear, not title, description, price or image. I’ve tried all the different style options.

    Any suggestions?

Viewing 6 replies - 1 through 6 (of 6 total)
  • The topic ‘Suggested products won’t display in cart’ is closed to new replies.