David Šuška

My feedback

  1. 262 votes
    Vote
    Sign in
    (thinking…)
    Password icon
    Signed in as (Sign out)
    You have left! (?) (thinking…)
    42 comments  ·  WooCommerce » Category - Core  ·  Flag idea as inappropriate…  ·  Admin →
    David Šuška commented  · 

    It would be great to have this functionality.
    I have tried to figure it out myself and found out simple SQL solution :) http://davidsuska.cz/woocommerce-report-by-product-variations/

    SELECT `meta_value`, COUNT(*) FROM `wp_woocommerce_order_itemmeta` WHERE `meta_key` LIKE 'NAME-OF-THE-ATRIBUTE' GROUP BY `meta_value`

Feedback and Knowledge Base