David Šuška

My feedback

  1. 272 votes
    Vote
    Sign in
    (thinking…)
    Sign in with: Facebook Google
    Signed in as (Sign out)
    You have left! (?) (thinking…)
    43 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