woocommerce list products by author (5 posts)

  1. alvaron
    Posted 2 years ago #

    I'm looking for a way to list products on wp-admin only for the logged author, I've seen this awesome post http://wordpress.stackexchange.com/questions/74054/woocommerce-assign-an-author-to-a-product talking about adding authors, just need one step foward and add a hook or something to woocommerce and list products that were added by a specific author on wp-admin.

    Thanks in advance for any help!

  2. dava007
    Posted 2 years ago #

    It may be a little late, but I found this solution:

    <a>/author/<?php echo get_the_author_meta('user_nicename', $author_id)?>/?post_type=product">

    The key is to add "/?post_type=product" at the end of a regular URL for WP author listsings and you will get all the wooCommerce products entered by the person.

    I hope this help!

  3. lucamoretto
    Posted 2 years ago #

    Hi, i have a site buddypress + woocommerce. I need to display a list of products published in any profile of the author... thanks in advance for any help guys!

  4. newintown
    Posted 2 years ago #

    Would be great to hear any answers someone has for this!

  5. WPyogi
    Forum Moderator
    Posted 2 years ago #

    This thread isn't even on the WooCommerce forum - I'd suggest you post your own thread there -


Topic Closed

This topic has been closed to new replies.

About this Topic