Order Confirmation HTML

James Langmaid Updated by James Langmaid

{% comment %}Show Local Delivery app date and time{% endcomment %}
{% if attributes["Delivery Method"] %}
  <table class="row">
    <tr>
      {% if attributes["Delivery Area"] %}
        {% if attributes["Local Delivery Date and Time"] %}
          <td class="customer-info__item">
            <h4>Requested delivery time</h4>
            <p>{{ attributes["Local Delivery Date and Time"]}}</p>
          </td>
        {% endif %}
      {% elsif attributes["Pickup Location"]%}
        {% if attributes["Local Delivery Date and Time"] or attributes["Pickup Address"] %}
          {% if attributes["Local Delivery Date and Time"] %}
            <td class="customer-info__item">
              <h4>Requested pick up time</h4>
              <p>{{ attributes["Local Delivery Date and Time"]}}</p>
            </td>
            {% endif %}
            {% if attributes["Pickup Address"] %}
            <td class="customer-info__item">
              <h4>Pickup Address</h4>
            <p>{{ attributes["Pickup Location"]}}<br>{{ attributes["Pickup Address"]}}
{% if attributes["Pickup Phone"] %}
<br>{{ attributes["Pickup Phone"]}}
{% endif %}
</p>
            </td>
          {% endif %}
        {% endif %}
      {% endif %}
    </tr>
  </table>
{% endif %}
{% comment %}End of show Local Delivery app date and time{% endcomment %}

How did we do?

Contact