This topic has 3 replies, 2 voices, and was last updated 8 years, 11 months ago ago by Stan Russell
Hi, I’ve tried to add a custom function to my function.php file to show only related products on the single product page which is only listed in the tag of the current product. Also tried modifying the woocommerce/includes/wc-template-functions.php $args and not successful.
Can you please shed some light on how this can be done?
Thank you 🙂
Actually I solved it 🙂 I was adding the last bit of my custom code to my file located in plugins/woocommerce instead of woopress-child/woocommerce/single-product/related.php
Dump mistake :p
Hello aldrin151,
we are happy that you have solved your problem! Have a nice day!
Regards,
Stan Russell.
Tagged: ecommerce, related products, seo friendly, tag only, templates, woocommerce, wordpress
The issue related to '‘Related Products by Tag Only’' has been successfully resolved, and the topic is now closed for further responses