WooCommerce Related Products are showing up twice on my product details page

I have WooCommerce installed. I have entered some products. When I visit a product page, related products are shown twice. Once, they appear in the “Description” tab. Then, at the bottom again, right before the footer. I have tried some WooCommerce examples. I tried the: “remove_action( ‘woocommerce_after_single_product_summary’, ‘woocommerce_output_related_products’, 20 );” example.

Here is an example page on what is going on:
https://www.healthcorefitness.com/shop/apparel/mens-apparel/mens-shoes/mens-hiking-shoes/free-soldier-outdoor-sports-hiking-and-camping-shoes-for-men/

I do have a child theme. I have placed this php code in the child theme functions.php file.
Here is some of the code in that file.
add_filter( ‘x_enqueue_parent_stylesheet’, ‘__return_true’ );
remove_action( ‘woocommerce_after_single_product_summary’, ‘woocommerce_output_related_products’, 20 );

Is there any way of helping me out?

Hey there,

The first related posts list does not come from X but Jetpack Related Post. Please disable it or contact Jetpack support to disable it selectively.

Thanks.

1 Like