Viewing 4 replies - 1 through 4 (of 4 total)
  • hannah

    (@hannahritner)

    Hey,
    I’m not sure if there’s a built-in functionality for this, but I’ll check with the developer and get back to you.
    Thanks for your patience!

    Best,
    Hannah

    /**
     * Adds SKUs to WooCommerce order emails
     */
    function custom_modify_wc_order_emails( $args ) {
      
        $args['show_sku'] = true;
     
        return $args;
    }
    add_filter( 'woocommerce_email_order_items_args', 'custom_modify_wc_order_emails' );

    You can use a custom function like that in a code snippet plugin.

    Ben

    Can you confirm this snippet is working? I inserted it in functions.php but the SKUs are not being displayed in new order email.

    Yes this works, perhaps you have something else changing the emails like another plugin or you are overriding a template or you need to clear your cache.

    Ben

Viewing 4 replies - 1 through 4 (of 4 total)
  • The topic ‘Product SKU show in order items table’ is closed to new replies.