Skip to main content
All CollectionsGeneral
Custom attributes
Custom attributes

Add location-specific custom attributes to your orders

Jelizaveta avatar
Written by Jelizaveta
Updated over 6 months ago

You can add custom attributes for orders from a specific location.

Custom attributes can be used to pass additional information to other apps, to your invoices or packing slips.


Add custom attributes

  1. In Zapiet - Pickup + Delivery, click Locations.

  2. Select a location you want to edit.

  3. Add your custom attributes. You can add up to 3 custom attributes for every location.

  4. Click Save.


You will see custom attributes in the Additional details field.

These attributes will be added to both pickup and delivery orders placed from this location.


Custom cart attributes in internal notifications

Custom cart attributes will not appear in your internal notifications by default. If you'd like to show them, add the snippet below to your templates.

  • Replace the word Custom-Attribute-Name with your attribute's own name (case-sensitive).

{% for note_attribute in note_attributes %}
{% if note_attribute.name == 'Custom-Attribute-Name' %}
<p><strong>{{note_attribute.name}}:</strong> {{ note_attribute.value }}</p>
{% endif %}{% endfor %}

If you have multiple attributes, you can use the code below to display them all.

{% for note_attribute in note_attributes %}
{% switch note_attribute.name %}
{% case "Custom-Attribute-Name" %}
<p><strong>{{note_attribute.name}}:</strong><br/>
{{ note_attribute.value }}</p>
{% break %}
{% case "Custom-Attribute-Name-2" %}
<p><strong>{{note_attribute.name}}:</strong><br/>
{{ note_attribute.value }}</p>
{% break %}
{% endif %}
{% endfor %}
Did this answer your question?