Skip to product information
1 of 1

Artisan IT

Display additional form fields in email notifications and the packing slip

Display additional form fields in email notifications and the packing slip

 
Regular price £0.00 GBP
Regular price Sale price £0.00 GBP
Sale Coming Soon

The feature code is available for your to use free of charge. However, if you would like to show your appreciation, you can do so by 'buying me a coffee'. Thank you very much if you decide to do this for me.

Disclaimer - Buying me a coffee is a voluntary action and does not affect your access to the free code being made available for you to use. If you do 'buy me a coffee' and later decide to not use the feature code, any money sent will not be refunded.


Use the reference table below to identify which template should be used for each Shopify notification



Display values entered by customers into our additional product page form fields, by updating your Shopify email notifications and packing slip template code. I demonstrate how to do this in our How to display additional product form fields in Shopify email notifications and packing slip video (link will take you to YouTube).

To get the code for each template you would like to update, simply select the template from the dropdown menu above and then click the Copy code to clipboard button.

Once the code has been copied, head over to the selected notification template in Shopify and add the copied code into the template.

View full details
{% unless line_item.properties == empty %}
    <span class=”line-item-description-line”>
            {% for property in line_item.properties %}
                {% unless property.last == blank %}
            {{ property.first }}: {{ property.last | newline_to_br }}
            <br>
                {% endunless %}
            {% endfor %}
    </span>
{% endunless %}
{% for p in line.properties %}
    {% unless p.last == blank %}
        <span class="order-list__item-variant"> {{ p.first }}: {{ p.last | newline_to_br }}
        </span>
        <br>
    {% endunless %}
{% endfor %}
{% for p in line.line_item.properties %}
    {% unless p.last == blank %}
        <span class="order-list__item-variant">
            {{ p.first }}: {{ p.last | newline_to_br }}
        </span>
        <br>
    {% endunless %}
{% endfor %}
{% for p in line_item.properties %}
    {% unless p.last == blank %}
        <span class="order-list__item-variant">
            {{ p.first }}: {{ p.last | newline_to_br }}
        </span>
        <br>
    {% endunless %}
{% endfor %}
<p>VariantOptions:</p>
{% for p inline.line_item.properties %}
    {% unless p.last == blank %}
        <p>
            <span class="order-list__item-variant">
                <strong>{{ p.first }}:</strong> {{ p.last | newline_to_br }}
            </span>
        </p>
    {% endunless %}
{% endfor %}

Code template reference

Use the references below to find out which template should be used for each email notification

  • Email notification 01

    • Order confirmation
    • Order edited
    • Order edited invoice
    • Order invoice
    • Order cancelled
    • Order refund
    • Draft order invoice
    • Abandoned checkout
    • POS and mobile receipt
    • Pending payment error
    • Pending payment success
    • Ready for pickup
    • Picked up
    • New order
    • New draft order
  • Email notification 02

    • Shipping confirmation
    • Shipping update
    • Out for delivery
    • Delivered
    • Local order out for delivery
    • Local order delivered
    • Local order missed delivery
  • Email notification 03

    • Return label/tracking for a return
    • Return request confirmation
    • Return request approved
    • Return request declined
  • Email notification 04

    • Fulfilment request

Frequently Asked Questions

What happens after I copy the code

The copied code will be available for you to paste into an applicable customer notification email / packing slip in Shopify.

To see how to add the code block, click to view the setup demonstration video over on our YouTube channel.

Will I need to repeat the setup process when updating my theme to a later version

No, as the packing slip and email notification templates are system templates and not theme templates, updating the theme to a later version will not affect the setup work carried out for this feature.

However, as we cannot control future updates released by Shopify, we cannot guarantee that this will be the case going forwards.

I am using different types of form fields in the product page template. Do I need to do this per field type

No, the code snippet added to the email notifications and packing slip templates only needs to be added once, regardless of the number of different form fields added to the theme template.

Does the code work for all Shopify themes

Yes, as the updates carried out in email notifications and the packing slip are not theme dependant, the updates will work regardless of the theme being used.

Is support provided with the free Shopify form fields

Support is available if required when setting up your free Shopify email notification and packing slip item property code snippets, however the support offered will not be free of charge.

If you require support, please send details using our Contact form and we will provide you with a no obligation quotation.