Unfortunately the product bundles that our clients buy are not showing up in the order confirmation e-mail. Simple and variable products are showing up without any problem. Do you have any idea how to solve this?
I wanted to not exclude the bundles so it works perfectly with our API to send out the orders to a fullfilment party. But unfortunately this does also remove the bundle (and products) from the confirmation order e-mail. Is there a change to solve this?
Hi,
Unfortunately the product bundles that our clients buy are not showing up in the order confirmation e-mail. Simple and variable products are showing up without any problem. Do you have any idea how to solve this?
Thanks!
Niels
Hi,
I think i found the problem due to the fact that i used this:
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 wanted to not exclude the bundles so it works perfectly with our API to send out the orders to a fullfilment party. But unfortunately this does also remove the bundle (and products) from the confirmation order e-mail. Is there a change to solve this?
Thanks!
Niels
Hi Niels,
Thank you for contacting WPClever Support Forum.
We’ve received your ticket and assigned one of our developers to help you with that.
He’ll be looking into your question and responding with specific instructions as soon as possible.
Please stay patient as we're having very heavy workloads, it might take some time for our developers to reach back.
Best regards.
Janilyn T. - WPClever Support Agent