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
In Zapiet - Pickup + Delivery, click Locations.
Select a location you want to edit.
Add your custom attributes. You can add up to 3 custom attributes for every location.
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 %}