Home Forums WC Vendors Free Support Top Pics of Vendor

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
  • #7769
    meet
    Participant

    Hi there,

    I am working with this plugin and I am very happy that I’ve got everything what I want!

    I have a profile page of vendors where guests can check profiles of each vendors in detail (like post detail page). I need to show Top Sold products from that vendor on the page. How can I do that?

    eg. If you are watching profile of vendor X, it will show top 5 product (maximum sold) on the page.

    Thanks in advance.

    #7770
    Jamie
    Keymaster

    Hello,

    At the moment you’d have to write some custom code to look at the commissions table to work that out. The reporting system is broken since WooCommerce updated their reporting code and I haven’t had the time to get around to fixing that. It is definitely on my list of things to fix for version 2.0 of WC Vendors.

    You would have to query the commission table, for vendor, and then calculate top 5 products from that table. I would recommend you also cache this information in wordpress transients.

    cheers,

    Jamie.

Viewing 2 posts - 1 through 2 (of 2 total)
  • The forum ‘WC Vendors Free Support’ is closed to new topics and replies.
This website uses cookies to ensure you get the best experience on our website.