David Šuška

My feedback

  1. 254 votes
    Sign in
    or sign in with
    • facebook
    • google
      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