Order history in customer's account
To display the selected date/time details in the order view within a customer's account on the front-end, you need to edit the code of the customers/order.liquid in your theme.
Go to Online Store > Themes > > Actions > Edit code for the necessary theme. Find the file customers/order.liquid file and add the following code snippet to the place, where you need to display the chosen delivery date details.
{% if order.attributes.Delivery-Date %}
{% assign deliveryMethod = "Store pickup" %}
{% if order.attributes.Delivery-Method contains "localDelivery" %}
{% assign deliveryMethod = "Local delivery" %}
{% endif %}
{{ deliveryMethod }} information
{{ deliveryMethod }} date: {{ order.attributes.Delivery-Date }}
{% if order.attributes.Delivery-Time %}
{{ deliveryMethod }} time: {{ order.attributes.Delivery-Time }}
{% endif; %}
{% if order.attributes.Delivery-Comment %}
Comments: {{ order.attributes.Delivery-Comment }}
{% endif %}
{% endif %}
Here is the example based on the Shopify 2.0 theme “Down”:



