Liquid, JavaScript, themes, sales channels
Where is delivery instructions ??
I have seen older question about this, but they remain unanswered. I'm using local delivery. Just before payment the user can specify specielt delivery instructions, for instance, "I'm home until 11 oclock" or similar. I looked everywhere for the liquid variable but have failed. I wish to put these in order page (additional script) and email confirmation. I tryed:
{{order.note}}
{{checkout.note}}
{{cart.note}}
{{delivery_instructions}}
{{delivery_instructions.note}}
Without luck, any ideas ?
Solved! Go to the solution
This is an accepted solution.
There is a list of variables available for use in the Order notification email that can be found here.
Both {{ note }} and {{ delivery_instructions }} are available for use.
{{ delivery_instructions }} works only with the local delivery option. {{ delivery_instructions }} already displays in the Order confirmation email of Debut out of the box.
Here's the code in the default Order Confirmation email that displays {{ delivery_instructions }}. Staring on line 9.
You can find this code by navigating: Settings > Notifications > Order confirmation
{% if delivery_instructions != blank %}
<p><b>Delivery information:</b> {{ delivery_instructions }}</p>
{% endif %}
Another way to accomplish this is to repurpose the cart note by changing the label as described below.
Step 1. Enable Cart Notes
Here's how to enable cart notes in Debut: Admin > Themes > Customize > Click [Cart Icon] > Cart Page > Check Enable cart notes
Here's the result:
Step 2. Change Cart Note Label
Change the label of cart notes to Delivery Instructions as follows:
Admin > Themes > Actions > Edit Languages > Cart > Edit Note: 'Delivery Instructions' (Defualt is 'Add a note to your order')
Step 3. Swap out {{ delivery_instructions }} with {{ note }} in the Order Confirmation email as noted above.
This is an accepted solution.
There is a list of variables available for use in the Order notification email that can be found here.
Both {{ note }} and {{ delivery_instructions }} are available for use.
{{ delivery_instructions }} works only with the local delivery option. {{ delivery_instructions }} already displays in the Order confirmation email of Debut out of the box.
Here's the code in the default Order Confirmation email that displays {{ delivery_instructions }}. Staring on line 9.
You can find this code by navigating: Settings > Notifications > Order confirmation
{% if delivery_instructions != blank %}
<p><b>Delivery information:</b> {{ delivery_instructions }}</p>
{% endif %}
Another way to accomplish this is to repurpose the cart note by changing the label as described below.
Step 1. Enable Cart Notes
Here's how to enable cart notes in Debut: Admin > Themes > Customize > Click [Cart Icon] > Cart Page > Check Enable cart notes
Here's the result:
Step 2. Change Cart Note Label
Change the label of cart notes to Delivery Instructions as follows:
Admin > Themes > Actions > Edit Languages > Cart > Edit Note: 'Delivery Instructions' (Defualt is 'Add a note to your order')
Step 3. Swap out {{ delivery_instructions }} with {{ note }} in the Order Confirmation email as noted above.
Hi themecaster.
Thank your a lot for you response, the idea about re-using cart notes and for delivery note is perfect !.
Good solution.
Are you ready to take your business to the next level? Look no further than the latest ...
By SarahF_Shopify Apr 15, 2024We’re keeping the ball rolling to make sure you’re always ahead of the game. So buckle ...
By JasonH Apr 8, 2024Portrait of Stephen positioned next to an image of planet Earth, with the Stephen's World ...
By JasonH Mar 18, 2024