Help in coding in confirmation automated email

Erigone
Excursionist
40 1 13

Hi!

I have a question. I am using Oberlo and whenever I sync order which has been sent by a supplier, Shopify sends an email to my customers with delivery confirmation. Sometimes customers order, of course, more than one product..now I would like to sync someone's order but send her/him just one delivery confirmation e-mail.

This is how it looks (Can I delete some of these options like - {% elsif fulfillment.item_count > 1 %} to achieve what I want????:

 

{% if fulfillment.item_count == item_count %}
{% capture email_title %}Potwierdzenie wysyłki{% endcapture %}
{% capture email_body %} <span style="color: black">TEXT TEXT TEXT {% endcapture %}
{% elsif fulfillment.item_count > 1 %}
{% if fulfillment_status == 'fulfilled' %}
{% capture email_title %}Potwierdzenie wysyłki{% endcapture %}
{% capture email_body %}<span style="color: black">TEXT TEXT TEXT {% endcapture %}
{% else %}
{% capture email_title %}Potwierdzenie wysyłki{% endcapture %}
{% capture email_body %}<span style="color: black">TEXT TEXT TEXT {% endcapture %}
{% endif %}
{% else %}
{% if fulfillment_status == 'fulfilled' %}
{% capture email_title %}Potwierdzenie wysyłki{% endcapture %}
{% capture email_body %}<span style="color: black">TEXT TEXT TEXT{% endcapture %}
{% capture email_body %}<span style="color: black">TEXT TEXT TEXT{% endcapture %}
{% endif %}
{% endif %}

Replies 0 (0)