Hide bundle items from customer’s Order Confirmation Email

 
Note that if you have Add bundle items as separate line items to orders? app setting disabled, then this help article is not applicable to you.
 

 
By default, the dummy bundle product and its bundle items are individually displayed on the customer’s Order Confirmation Email.
 
Merchants may choose to hide the bundle items from this email template for operational purposes.
 

 
From your Shopify admin, go to Settings > Notifications.
Under Customers notifications, find the Orders section.
Click on Order confirmation to edit the email template.
 
Search for the below snippet in your email template:
<table class="row"> {% for line in subtotal_line_items %} <tr class="order-list__item"> <td class="order-list__item__cell">
 
And replace with:
<table class="row"> {% for line in subtotal_line_items %} <!-- BUNDLE KIT --> {% assign line_item_is_a_bundle_item = false %} {% if line.discount_allocations %} {% for discount_allocation in line.discount_allocations %} {% if discount_allocation.discount_application.title contains 'Bundle Kit:' %} {% assign line_item_is_a_bundle_item = true %} {% endif %} {% endfor %} {% endif %} {% if line_item_is_a_bundle_item == true %} {% continue %} {% endif %} <!-- BUNDLE KIT --> <tr class="order-list__item"> <td class="order-list__item__cell">
 
Then click Save.
Once saved, bundle items shall be hidden from customer's Order Confirmation Email.