@eccola-www
You’re right, and that is what I have been using. But if you think about WooCommerce in comparison to it’s competitors, WooCommerce feels very disjointed.
@riaanknoetze
I stumbled upon that the other day but haven’t tied it yet. There are a couple things that deter me from using it.
Firstly, it doesn’t look “WordPress-y”. This is a big turn off to me because the solution built needs to look like a complete solution, not that it was cobbled together from a bunch of different places.
Secondly, it’s just plain weird that you search for “Anything” from a single page. Again, if you compare this to the backend of pretty much any ecommerce solution – you should be able to view a listing of all members, click select a member, and right there see all their orders along with status, as well as any CRM tie-ins.
As a temporary quick fix, I added a box to the top of the user which links to a the WooCommerce Orders page pre-filtered.
add_action( 'user_edit_form_tag', function() {
global $user_id;
// This action is called as a HTML attribute. Make sure to close the form tag.
echo '>'
.'<div style="margin-top: 20px; margin-bottom: 20px; border: 2px solid #ccc; padding: 20px;">'
.'<a style="text-decoration: none; font-weight: bold;" href="/wp-admin/edit.php?post_status=all&post_type=shop_order&_customer_user=' . $user_id . '">'
.'View all customer orders ? '
.'</a>'
.'</div>';
// Now because of the closing tag on the page, we need to open an element and let that' close it.
echo '<div></div';
});
User management/profiles in WordPress are seriously lacking and need some attention.