Order Confirmation

To get our apps virtual options to show up correctly in the email notification, you will need to edit the code.

Here is the notification template for Order Confirmation.

  • Go to your Shopify dashboard
  • Then Settings
  • Then Notifications
  • Then Templates >  Order Confirmation

Find the line that looks like this:

<ul>  {% for line in subtotal_line_items %} <li> <img src="{{ line | img_url: 'thumb' }}" /> {{ line.quantity }}x {{ line.title }} {% if line.sku != "" %}(SKU: {{line.sku}}){% endif %} for {{ line.price | money }} each </li> {% endfor %} </ul>

Then paste in this code before the {% endfor %}

{% for p in line.properties %}
{% unless p.last == blank %}
<span class="bcpo-property">{{ p.first }}: {{ p.last }}</span><br/>
{% endunless %}
{% endfor %}

Here’s a screenshot of how it should look:

For testing, the Send Test Notification won’t include line item properties, so you’ll need to checkout with a product whose price is set to $0.

You can revert back to the default notification by scrolling to the bottom of the page and clicking Revert to Default.



Was this article helpful?
Dislike 3

Pin It on Pinterest