How can I hide the subscription box product from the Order Confirmation email?

Every Conjured Subscriptions subscription order contains a "container" product for each subscription box in addition to the items included in that subscription shipment. Depending on what type of subscription box you've set up, you may want to hide the "container" product from your Shopify Order Confirmation email. 

To do that, open your Order Confirmation email by going to Settings > Notifications and clicking on the Order Confirmation option. In the email code, find the line that starts the loop over all the line items in the order. It should look something like this:

{% for line_item in line_items %}

Just after that line, add the following if statement:

{% if line_item.product.type == 'Conjured Subscription' %}{% continue %}{% endif %}

This line will check to see if the line item's product type is "Conjured Subscription", indicating that it's a "container" product, and simply skip displaying it.

As always, if you have any trouble with the implementation, shoot us an email at support@conjured.co.

Did this answer your question? Thanks for the feedback There was a problem submitting your feedback. Please try again later.

Still need help? Contact Us Contact Us