Home Forums WC Vendors Pro Support Related products by vendor not working any longer

NOTICE: We've Moved to a Ticket System for Support

As of August 31, 2017 (12am EST) our support forums will be retired (read-only), and we will be moving to a support ticket system.  This will allow us to better organize and answer support requests, and provide a more personalized experience as we assist our customers.

For the time being, we will leave our forums open for reading and learning while we work on creating a more robust Knowledge Base for everyone to use.

If you are a WC Vendors Pro customer please open a support ticket here. 

If you are a WC Vendors user please open a support ticket on the Wordpress.org forums.

The information on this forum is outdated and in most instances no longer relevant. Please be sure to check our documentation for the most up to date information.

https://docs.wcvendors.com/

Thank you to all of our customers!

 

Viewing 2 posts - 1 through 2 (of 2 total)
  • Author
    Posts
  • #57015
    Tom Palmer
    Participant

    Hi,

    I had Related products by vendor working using Code Snippets a few months back, then took it off.

    Now I can’t get it working again, either as a snippet (fatal error below) or adding via:
    /themes/YOURTHEME/woocommerce/single-product/related.php

    Did this stop working after a WordPress update?

    Thanks, Tom

    #58688
    Jamie
    Keymaster

    Hello,

    This is related to woocommerce more than us. I would suggest you check out the filter woocommerce_output_related_products_args. You’d just have to add the post_author to the arguments for the product->post->post_author from the global $product. You can do this in your themes functions.php

    cheers

    Jamie.

Viewing 2 posts - 1 through 2 (of 2 total)
  • The forum ‘WC Vendors Pro Support’ is closed to new topics and replies.