To get our app’s virtual options to show up correctly in the Abandoned Checkout email notification, you will need to add some code.
- Go to your Shopify dashboard
- Select Settings
- Select Notifications
- Go to Orders, and select Abandoned Checkout
- Click Edit Code
In the Abandoned Checkout template search for the code below.
{ line.variant.title }
The code above should appear on line 162 of the template (like in the screenshot below)
Below the the <span class=”order-list__item-variant”>{{ line.variant.title }}</span><br/>{% endif %} code place the following code on line 164.
{% for p in line.properties %}
{% unless p.last == blank %}
<span class="bcpo-property">{{ p.first }}: {{ p.last }}</span>
{% endunless %}
{% endfor %}
The result will look like the screenshot below.
You can revert back to the default notification by scrolling to the bottom of the page and clicking Revert to Default.