Hi, after updating the site to the new version of woocommerce, we have a problem with the code used to hide the “related product” in single product pages.
We have tried with a different code you suggested, but we can still see them.
Can you help us?
In the private content, I attached temporary admin login user and password.
Thank you
Hey Guido,
Can you please post a link to a product which has related products on it? I checked many of your products but cannot find one with related products :)
Best regards,
Yigit
Sorry, we did hide the related product using css.
Here you can see related products
Hi,
Can you please post FTP logins here privately as well so we can look further into it?
Best regards,
Yigit
Sure. Let me know if you need anything else.
Hi,
I changed the code to following one
function avia_remove_related_product() {
remove_action( 'woocommerce_after_single_product_summary', 'avia_woocommerce_output_related_products', 20);
}
add_action( 'init', 'avia_remove_related_product');
Please review your website now :)
Best regards,
Yigit
Hi, thank you for your help, now everything works as it should.
Thank you again for your assistance
Hi,
Glad to hear that! Thanks for using Enfold :)
Best regards,
Nikko