Related Products by Tag Only - by aldrin151

This topic has 3 replies, 2 voices, and was last updated 8 years, 11 months ago ago by Stan Russell

  • Avatar: aldrin151
    aldrin151
    Participant
    January 10, 2016 at 00:45

    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 🙂

    Please, contact administrator
    for this information.
    2 Answers
    Avatar: aldrin151
    aldrin151
    Participant
    January 10, 2016 at 01:01

    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

    Avatar: stan
    Stan Russell
    Participant
    January 11, 2016 at 08:13

    Hello aldrin151,

    we are happy that you have solved your problem! Have a nice day!

    Regards,
    Stan Russell.

  • Viewing 3 results - 1 through 3 (of 3 total)

The issue related to '‘Related Products by Tag Only’' has been successfully resolved, and the topic is now closed for further responses

We're using our own and third-party cookies to improve your experience and our website. Keep on browsing to accept our cookie policy.