Passar para o conteúdo principal
Order Printer

Adicione os detalhes do Zapiet - Entrega e Recolhas às faturas

Lui Serafim avatar
Escrito por Lui Serafim
Atualizado há mais de uma semana

O Order Printer permite que você imprima pedidos, entregue automaticamente faturas com marca, guias de remessa, formulários de devolução e recibos.

Os detalhes do Zapiet - Entrega e Recolhas podem ser adicionados apenas às faturas e guias de remessa.

Siga as instruções para a versão do Order Printer que você está usando:


Shopify Order Printer

Adicionar o modelo de fatura

  1. No Order Printer, clique em Modelos, depois em Fatura.

  2. Clique em Duplicar.

  3. O modelo "Cópia da Fatura 1" será aberto. Role até o final do modelo e encontre o seguinte código:

    If you have any questions, please send an email to <u>{{ shop.email }}</u>

  4. Insira o seguinte código acima do código mencionado.

    {% comment %} Zapiet info {% endcomment %} 
    <div style="padding: 1.5em; border: 1px solid black;">
    {% for attribute in order.attributes %}
    {% capture key %}{{attribute | first}}{% endcapture %}
    {% if key == 'Checkout-Method' %}
    {% comment %}Do nothing{% endcomment %}
    {% elsif key == 'Pickup-Location-Id' %}
    <h3 style="margin: 0 0 1em 0;">Pickup Information</h3>
    {% elsif key == 'Delivery-Location-Id' %}
    <h3 style="margin: 0 0 1em 0;">Delivery Information</h3>
    LocationID: {{ attribute | last }}<br>
    {% elsif key == 'Pickup-Location-Company' %}
    {{ attribute | last }}<br>
    {% elsif key == 'Pickup-Location-Address-Line-1' %}
    {{ attribute | last }}<br>
    {% elsif key == 'Pickup-Location-City' %}
    {{ attribute | last }}<br>
    {% elsif key == 'Pickup-Location-Region' %}
    {{ attribute | last }}<br>
    {% elsif key == 'Pickup-Location-Postal-Code' %}
    {{ attribute | last }}<br>
    {% elsif key == 'Pickup-Location-Country' %}
    {{ attribute | last }}<br><br>
    {% endif %}
    {% endfor %}
    {% for attribute in order.attributes %}
    {% capture key %}{{ attribute | first }}{% endcapture %}
    {% if key == 'Pickup-Date' %}
    Pickup Date: {{ attribute | last }}<br>
    {% elsif key == 'Pickup-Time' %}
    Pickup Time: {{ attribute | last }}<br>
    {% elsif key == 'Delivery-Date' %}
    Delivery Date: {{ attribute | last }}<br>
    {% elsif key == 'Delivery-Time' %}
    Delivery Time: {{ attribute | last }}<br>
    {% elsif key == 'Shipping-Date' %}
    Shipping Date: {{ attribute | last }}<br>
    {% endif %}
    {% endfor %}
    </div>

  5. Clique em Salvar.

Suas faturas incluirão a data e a hora apenas se você tiver ativado o seletor de data e hora.

Sua fatura de recolha deverá se parecer com a imagem abaixo:

Sua fatura de entrega deverá se parecer com a imagem abaixo.

Sua fatura de envio deverá se parecer com a imagem abaixo.


Adicionar o modelo de guia de remessa

  1. No Order Printer, clique em Modelos, depois em Guia de remessa.

  2. Clique em Duplicar.

  3. O modelo "Cópia da Guia de remessa 1" será aberto. Role até o final do modelo e adicione o seguinte código.

    {% comment %} Zapiet info {% endcomment %} 
    <div style="padding: 1.5em; border: 1px solid black;">
    {% for attribute in order.attributes %}
    {% capture key %}{{attribute | first}}{% endcapture %}
    {% if key == 'Checkout-Method' %}
    {% comment %}Do nothing{% endcomment %}
    {% elsif key == 'Pickup-Location-Id' %}
    <h3 style="margin: 0 0 1em 0;">Pickup Information</h3>
    {% elsif key == 'Delivery-Location-Id' %}
    <h3 style="margin: 0 0 1em 0;">Delivery Information</h3>
    LocationID: {{ attribute | last }}<br>
    {% elsif key == 'Pickup-Location-Company' %}
    {{ attribute | last }}<br>
    {% elsif key == 'Pickup-Location-Address-Line-1' %}
    {{ attribute | last }}<br>
    {% elsif key == 'Pickup-Location-City' %}
    {{ attribute | last }}<br>
    {% elsif key == 'Pickup-Location-Region' %}
    {{ attribute | last }}<br>
    {% elsif key == 'Pickup-Location-Postal-Code' %}
    {{ attribute | last }}<br>
    {% elsif key == 'Pickup-Location-Country' %}
    {{ attribute | last }}<br><br>
    {% endif %}
    {% endfor %}
    {% for attribute in order.attributes %}
    {% capture key %}{{ attribute | first }}{% endcapture %}
    {% if key == 'Pickup-Date' %}
    Pickup Date: {{ attribute | last }}<br>
    {% elsif key == 'Pickup-Time' %}
    Pickup Time: {{ attribute | last }}<br>
    {% elsif key == 'Delivery-Date' %}
    Delivery Date: {{ attribute | last }}<br>
    {% elsif key == 'Delivery-Time' %}
    Delivery Time: {{ attribute | last }}<br>
    {% elsif key == 'Shipping-Date' %}
    Shipping Date: {{ attribute | last }}<br>
    {% endif %}
    {% endfor %}
    </div>

  4. Clique em Salvar.

As suas guias de remessa incluirão a data e a hora apenas se você tiver ativado o seletor de data e hora.

Sua guia de remessa de recolha deverá se parecer com a imagem abaixo:

Sua guia de remessa de entrega deverá se parecer com a imagem abaixo.

Sua guia de remessa de envio deverá se parecer com a imagem abaixo.


Order Printer [Legado]

Adicionar o modelo de fatura

  1. No Order Printer, clique em Gerenciar modelos.

  2. Encontre a Fatura e clique em Duplicar Modelo.

  3. O modelo Fatura--CÓPIA será aberto. Role até o final do modelo e encontre o seguinte código:

    <p>If you have any questions, please send an email to <u>{{ shop.email }}</u></p>

  4. Insira o seguinte código antes do código acima:

    {% comment %} Zapiet info {% endcomment %} 
    <div style="padding: 1.5em; border: 1px solid black;">
    {% for attribute in attributes %}
    {% capture key %}{{attribute | first}}{% endcapture %}
    {% if key == 'Checkout-Method' %}
    {% comment %}Do nothing{% endcomment %}
    {% elsif key == 'Pickup-Location-Id' %}
    <h3 style="margin: 0 0 1em 0;">Pickup Information</h3>
    {% elsif key == 'Delivery-Location-Id' %}
    <h3 style="margin: 0 0 1em 0;">Delivery Information</h3>
    LocationID: {{ attribute | last }}<br>
    {% elsif key == 'Pickup-Location-Company' %}
    {{ attribute | last }}<br>
    {% elsif key == 'Pickup-Location-Address-Line-1' %}
    {{ attribute | last }}<br>
    {% elsif key == 'Pickup-Location-City' %}
    {{ attribute | last }}<br>
    {% elsif key == 'Pickup-Location-Region' %}
    {{ attribute | last }}<br>
    {% elsif key == 'Pickup-Location-Postal-Code' %}
    {{ attribute | last }}<br>
    {% elsif key == 'Pickup-Location-Country' %}
    {{ attribute | last }}<br><br>
    {% endif %}
    {% endfor %}
    {% for attribute in attributes %}
    {% capture key %}{{ attribute | first }}{% endcapture %}
    {% if key == 'Pickup-Date' %}
    Pickup Date: {{ attribute | last }}<br>
    {% elsif key == 'Pickup-Time' %}
    Pickup Time: {{ attribute | last }}<br>
    {% elsif key == 'Delivery-Date' %}
    Delivery Date: {{ attribute | last }}<br>
    {% elsif key == 'Delivery-Time' %}
    Delivery Time: {{ attribute | last }}<br>
    {% elsif key == 'Shipping-Date' %}
    Shipping Date: {{ attribute | last }}<br>
    {% endif %}
    {% endfor %}
    </div>

  5. Clique em Salvar.​

Suas faturas incluirão a data e a hora apenas se você tiver o seletor de data e hora ativado.

Sua fatura de recolha deverá se parecer com a imagem abaixo.

Sua fatura de entrega deverá se parecer com a imagem abaixo.

Sua fatura de envio deverá se parecer com a imagem abaixo.


Adicionar o modelo de guia de remessa

No Order Printer, clique em Gerenciar modelos.​

  1. Encontre a Guia de remessa e clique em Duplicar Modelo.

  2. O modelo Guia de remessa--CÓPIA será aberto. Role até o final do modelo e adicione o seguinte código.

    {% comment %} Zapiet info {% endcomment %} 
    <div style="padding: 1.5em; border: 1px solid black;">
    {% for attribute in attributes %}
    {% capture key %}{{attribute | first}}{% endcapture %}
    {% if key == 'Checkout-Method' %}
    {% comment %}Do nothing{% endcomment %}
    {% elsif key == 'Pickup-Location-Id' %}
    <h3 style="margin: 0 0 1em 0;">Pickup Information</h3>
    {% elsif key == 'Delivery-Location-Id' %}
    <h3 style="margin: 0 0 1em 0;">Delivery Information</h3>
    LocationID: {{ attribute | last }}<br>
    {% elsif key == 'Pickup-Location-Company' %}
    {{ attribute | last }}<br>
    {% elsif key == 'Pickup-Location-Address-Line-1' %}
    {{ attribute | last }}<br> {% elsif key == 'Pickup-Location-City' %} {{ attribute | last }}<br> {% elsif key == 'Pickup-Location-Region' %} {{ attribute | last }}<br> {% elsif key == 'Pickup-Location-Postal-Code' %}
    {{ attribute | last }}<br>
    {% elsif key == 'Pickup-Location-Country' %}
    {{ attribute | last }}<br><br>
    {% endif %} {% endfor %}
    {% for attribute in attributes %} {% capture key %}
    {{ attribute | first }}{% endcapture %}
    {% if key == 'Pickup-Date' %}
    Pickup Date: {{ attribute | last }}<br>
    {% elsif key == 'Pickup-Time' %}
    Pickup Time: {{ attribute | last }}<br>
    {% elsif key == 'Delivery-Date' %}
    Delivery Date: {{ attribute | last }}<br>
    {% elsif key == 'Delivery-Time' %}
    Delivery Time: {{ attribute | last }}<br>
    {% elsif key == 'Shipping-Date' %}
    Shipping Date: {{ attribute | last }}<br>
    {% endif %}
    {% endfor %}
    </div>

  3. Clique em Salvar.​

As suas guias de remessa incluirão a data e a hora apenas se você tiver o seletor de data e hora ativado.

Sua guia de remessa de recolha deverá se parecer com a imagem abaixo.

Sua guia de remessa de entrega deverá se parecer com a imagem abaixo.

Sua guia de remessa de envio deverá se parecer com a imagem abaixo.

Respondeu à sua pergunta?