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?