Removing related products on single product page
-
I am attempting to remove the related products at the bottom of my single product pages. I am told there is a string of code that can be added or manipulated in the functions.php files of a child theme. Therein lies one of the issues.
I have downloaded a plugin -Orbisius child theme creator- and have created a child theme of the theme I am running. Within the editor, one is able to view both theme’s code- the ‘child and parent’ side by side. I do not see a functions.php file for the child theme. There is none.
There are only three files there and they are: style.css, footer.php and header.php
Furthermore, I have looked at the code in the functions.php of the parent theme and although the file and code is there, there is no such creature as follows:
remove_action( ‘woocommerce_after_single_product_summary’, ‘woocommerce_output_related_products’, 20 );
I’ve hunted high and low for the single product summary and its simply not there in the functions.php
Furthermore, if this string of code is ever entered into the child theme, how would the adjustments stick whenever I swap back over to the original theme?
Thanks
- The topic ‘Removing related products on single product page’ is closed to new replies.