Obs.: embora os nossos guias mais acessados tenham sido traduzidos para o português, outros guias estão disponíveis apenas em inglês.

E-mails sobre pedidos

Order notification emails are the transactional notifications your customers receive about their orders and shipping information. You can customize the subject, title, and message body of each email to provide additional information and suit your business's needs.

There are three Order emails:

This guide covers editing all three order notification emails.

Tip: You can also create automated campaigns to send marketing emails to customers after they make a purchase.

Step 1 - Go to Notifications

No Menu Inicial, clique em Commerce e depois em Notificações ao Cliente.

Customer_notification.png

Step 2 - Select the email to edit

In the Customer Notifications panel, click Order Emails, then choose which email you want to edit: Order Confirmed, Order Fulfilled, or Order Refunded.

Email_options.png

Step 3 - Edit the subject line, title, and message

A new panel will open, where you can customize most of the default email content. You can edit the subject line, title, and message. This example uses the Order Confirmed email, but the process is identical for Order Fulfilled and Order Refunded emails. Edits you make to this email notification apply to all product types.

You can use these variables:

  • %o - Displays order number.
  • %s - Displays your site title.

As you make changes, a preview of a live email populates to the right.

  • Subject Line - You can customize the default subject line. For example, the default subject line for the Order Confirmed email is "%s: New Order Confirmed #%o". Look at the example below the field to see how these variables are translated for your site.
  • Title - Use a combination of custom text and the variables below to customize the main header of the email.
  • Message - Use text, HTML, and JSON variables to customize the body of the email. For example, you can include information about how you ship orders, your refund policy, or anything else customers should know.

You can create a custom header and footer for all Order emails in the Header and Footer panel. You can edit your business address in Business Information settings.

Note: We recommend having coding knowledge before customizing order emails with HTML and JSON. While we can help with the steps in this guide, we can't provide assistance for advanced code modifications using HTML or JSON. If you need more help, we recommend exploring the Squarespace Forum, or our list of resources to help with custom code.

Use JSON variables in the email content

When customizing these emails, usually regular text will suffice. There are also variables included in the default email content that you can use. These automatically populate information about your store and the specifics of the order.

In the Subject Line and Title fields, you can use these variables:

  • %o - The order number.
  • %s - The title of your site.

No campo Mensagem, é possível usar estas variáveis entre chaves, por exemplo {order.displayId}:

customer.name Nome completo (nome + sobrenome) do cliente
giftCard.giftCardCodeLast4 The last 4 digits of the gift card code.
giftCard.recipientEmail The gift card recipient's email address.
hasPhysicalProduct Seção exibida se o pedido tiver pelo menos um produto físico
hasDigitalProduct Seção exibida se o pedido tiver pelo menos um produto digital
hasServiceProduct Seção exibida se o pedido tiver pelo menos um produto de serviço
hasGiftCardProduct Seção exibida se o pedido tiver pelo menos um vale-presente
order.displayId "ID do pedido" com cinco dígitos, por exemplo #00005
order.refundTotalFormatted The refund amount.
order.submittedOn Data/hora do envio do pedido. Precisa ser executada por meio de uma função de formatador, data, para ser exibida corretamente no e-mail, por isso o template padrão diz: {order.submittedOn|date %B %e, %Y %I:%M%p %Z}
order.url

Show the order number with a link to the customer's account.

Atenção: ative as Contas de clientes antes de usar esta variável.
website.siteTitle Your site title
%B Nome completo do mês
%e Dia do mês
%Y Ano completo

%I

Horário, em formato de 12 horas

%M

minutos do horário

%p

"AM" ou "PM"

%Z

Nome do fuso horário

When you're finished making changes, click Save.

Note: Order emails always include the billing and shipping information customers enter at checkout. Order Confirmed emails for digital and service products don't include shipping details.

Send a test email

To see how an email appears in your inbox, you can send yourself a test email by clicking Send Test Email To youremail@email.com.

Note: Test emails include order details for a typical physical product order, even if you only sell digital or service products. Details include a placeholder tracking number and a shipping address, which aren't in real emails for digital or service products. To preview emails sent to customers for digital or service product orders, run a test order.

Subscriber settings

By default, subscribers receive the Order Confirmed email once, after the first subscription purchase. To send the email for every subscription renewal, check the box beneath Order confirmations for subscribers, then click Save.

Restore to defaults

To reset the changes you've made, scroll down to the panel and click Restore Defaults. Use caution, as this process can't be reversed.

Este artigo foi útil?
Utilizadores que acharam útil: 24 de 131