Support » Plugins and Hacks » woocommerce list products by author
4 years, 2 months 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!
3 years, 10 months 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 years, 5 months 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!
3 years, 4 months ago
Would be great to hear any answers someone has for this!
This thread isn’t even on the WooCommerce forum – I’d suggest you post your own thread there –