• Hello! I using the following code that I got from this topic – it works great on the backend, but now the order confirmation emails are going out blank (as if there were no products at all). Any ideas on how to fix this? Thanks!!

    add_filter( 'woocommerce_order_get_items', 'woosb_exclude_bundles_from_order', 10, 1 ); function woosb_exclude_bundles_from_order( $items ) { foreach ( $items as $key => $item ) { if ( $item->meta_exists( '_woosb_ids' ) ) { unset( $items[ $key ] ); } } return $items; }

The topic ‘Hide Main Bundle from order’ is closed to new replies.