Hide bundle contents in customer confirmation emails

Follow the steps below to hide the contents of your bundles in customer emails.


If you would like to hide the contents of a bundle in customer confirmation emails (e.g. in the case of mystery bundles), Follow the steps below:

1. Navigate to the Settings page in Shopify

2. Go to the Notifications section

3. Select the email that has line item contents. In our case, we will use Shipping confirmation

Modifying Shipping and Local Delivery emails

This code and instructions above apply to the emails listed below:

Shipping

  • Fulfillment request
  • Shipping confirmation
  • Shipping update
  • Out for delivery
  • Delivered

Local delivery

  • Out for delivery
  • Delivered
  • Missed delivery

1. In the email contents, look for the following code snippet:

{% for line in fulfillment.fulfillment_line_items %}

2. Right below the start of the for loop highlighted above, add the following liquid code snippet:

You can view this code snippet on this Github Gist.

Modifying Orders and Local pickup emails

If you aren't modifying the list of emails above, the code snippet is slightly modified

This code above applies to the emails listed below:

Orders

  • Order confirmation
  • Order edited
  • Order invoice
  • Order canceled
  • Order refund
  • Draft order invoice
  • Email cart from POS
  • Abandoned checkout
  • POS and mobile receipt

Local pickup

  • Ready for pickup
  • Picked up

1. In the email contents, look for the following code snippet:

{% for line in subtotal_line_items %}

2. Right below the start of the  for loop highlighted above, add the following liquid code snippet:

You can find the code snippet here: Github Gist.

Still need help? Contact Us Contact Us