Remove bundled products from Invoice
-
Hi,
On packing slips and invoices we get both bundled products and the bundled. How can we only show the bundle?
I found this snippet to only show bundled products
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; }I would like to only show the bundle and its price
Best Regards
Viewing 2 replies - 1 through 2 (of 2 total)
Viewing 2 replies - 1 through 2 (of 2 total)
The topic ‘Remove bundled products from Invoice’ is closed to new replies.