No content in e-mail notification

Hello

 

In my notification e-mail for "New order", as well as "Fulfillment request", no content appears. The ordered products are not listed and not all details appear in the test e-mail. There are a few more details visible than with a real order, but not all of them. (e.g. items total, quantity, seller, refunds, unit price). I have used the following Liquid variables for reading out:

The quantity shows 0, although in this case there should be at least 2

 

Total number of articles: {{{ fulfillment.item_count }}

 

When preview the notification / e-mail for ordered products there are the following points which should be filled in. As you can see, not all of them are filled in.

SKU: SA-1001201901-001
Product: Muesli knitting set
Variant: Brown
Seller:
Quantity: 0
Weight: 1200 g
Unit price: CHF 0.00
Refund:

I had nothing to do with Liquid so far and I am a beginner here, so I hope for your help to get this done.

Enclosed the "New order" notification, as this have more fields and is more complex:

 

New order notification / e-mail

Einzelstücke: {{ fulfillment.fulfillment_line_items.size }}
<br> Artikel gesamt: {{ fulfillment.item_count }}

[…] <td style="vertical-align:top;">
<span class="order-list__item-title">SKU</span>
</td> <td style="padding-left:15px; vertical-align:top;"> <p> {% if line.line_item.sku != "" %} {% assign line_sku = line.sku %} {% else %} {% assign line_sku = "" %}<em>SKU nicht vorhanden</em> {% endif %} {% if line.line_item.sku %}
{{ line.line_item.sku}} {% endif %} </p> </td> </tr> <tr> <td style="vertical-align:top;">
<span class="order-list__item-title">Produkt</span>
</td> <td style="padding-left:15px; vertical-align:top;"> <p> {{ line.line_item.product.title }} </p> </td> </tr> <tr> <td style="vertical-align:top;">
<span class="order-list__item-title">Variante</span>
</td> <td style="padding-left:15px; vertical-align:top;"> <p> {% if line.line_item.variant.title != 'Default Title' %} {{ line.line_item.variant.title }} {% endif %} </p> </td> </tr> <tr> <td style="vertical-align:top;">
<span class="order-list__item-title">Verkäufer</span>
</td> <td style="padding-left:15px; vertical-align:top;"> <p> {{ line.line_item.vendor }} </p> </td> </tr> <tr> <td style="vertical-align:top;">
<span class="order-list__item-title">Menge</span>
</td> <td style="padding-left:15px; vertical-align:top;"> <p> {% if line.quantity < line.line_item.quantity %} {% capture line_display %} {{ line.quantity }} von {{ line.line_item.quantity }} {% endcapture %} {% else %} {% assign line_display = line.line_item.quantity %} {% endif %} {{ line_display }} </p> </td> </tr> <tr> <td style="vertical-align:top;">
<span class="order-list__item-title">Gewicht</span>
</td> <td style="padding-left:15px; vertical-align:top;"> <p> {{ line.line_item.grams }} g </p> </td> </tr> <tr> <td style="vertical-align:top;">
<span class="order-list__item-title">Stückpreis</span>
</td> <td style="padding-left:15px; vertical-align:top;"> <p> {{ line.line_item.price | money }} {% if line.line_item.discount_allocations %} {% for discount_allocation in line.line_item.discount_allocations %} {% if discount_allocation.discount_application.target_selection != 'all' %} <span class="order-list__item-discount-allocation"><img src="{{ 'notifications/discounttag.png' | shopify_asset_url }}" width="18" height="18" class="discount-tag-icon" /> <span>{{ discount_allocation.discount_application.title | upcase }} (-{{ discount_allocation.amount | money }})</span> </span> {% endif %} {% endfor %} {% endif %} </p> </td> </tr> <tr> <td style="vertical-align:top;">
<span class="order-list__item-title">Erstattung</span>
</td> <td style="padding-left:15px; vertical-align:top;"> <p> {% if line.line_item.refunded_quantity > 0 %} <span class="order-list__item-refunded">Rückerstattet</span> {% endif %} </p> </td> </tr>

 

Thank you in advance
Stefanos

0 Likes
Highlighted
Explorer
44 4 5

Have you tried selecting Revert to Default? Try that to see if it fixed it.

0 Likes
Highlighted

Hi ElPotrero

 

I tried now with the default notification and the problem is the same. Even if there are less information in the notification, the order is still 0 (zero).

0 Likes