Skip to content

How can I include the pickup point details in the confirmation email?

Including pickup point details in the order confirmation email is a great way to provide customers with a clear record of their selected location.


Adding pickup point details to the confirmation email

For Shopify Plus stores, you can customize the Order confirmation email to display pickup point details. Follow these steps:

  1. Navigate to Settings > Notifications > Customer notifications in your Shopify admin.
  2. Select Order confirmation from the list of notifications.
  3. Click Edit code.

Replacing the shipping address with pickup point data

  1. Locate the following line in your email template:

    {{ shipping_address | format_address }}

  2. Replace it with the following Liquid code:

{% assign PickupPoint = metafields.Globe.PickupPoint %}
{% if PickupPoint %}
<p>
{{ PickupPoint.name }}
<br/>
{{ PickupPoint.addressObject.street }}
<br/>
{{ PickupPoint.addressObject.city }} {{ PickupPoint.addressObject.zip }}
<br/>
{{ shipping_address.country }}
</p>
{% else %}
{{ shipping_address | format_address }}
{% endif %}