• Resolved demerara

    (@demerara)


    Hello!

    Thank you for your plugin. It’s amazing!

    But, I have a problem. I want to filter orders by product variation SKU. When i use that unfortunately don’t have any matches ??

    Can you tell me what to do?

    Greetings!

Viewing 2 replies - 1 through 2 (of 2 total)
  • Thread Starter demerara

    (@demerara)

    I’ve done it myself. Please add my solution in next version:

    line 493 in additionalorderfilters.php replace to:

    AND (" . $wpdb->prefix . "woocommerce_order_itemmeta.meta_key = '_product_id' OR " . $wpdb->prefix . "woocommerce_order_itemmeta.meta_key = '_variation_id' )

    • This reply was modified 4 years, 2 months ago by demerara.
    Plugin Author Anton Bond

    (@antonbond)

    Thank you for replay.

Viewing 2 replies - 1 through 2 (of 2 total)
  • The topic ‘Filtering by product variation SKU’ is closed to new replies.