Add Supertime details to the post-checkout confirmation page

Do you want to show the date/time a customer has picked on their Order Confirmation page?

You can show the selected date, time and delivery method for a customer's order on the post-checkout confirmation page by using Shopify's Additional Scripts feature. Paste the following snippet into the Additional Scripts box on your Checkout settings page:

{% if order.attributes %}
<script>
SupertimeOrder = {
  deliveryMethod: "{{ order.attributes["Supertime Delivery Method"] }}",
  deliveryDate: "{{ order.attributes["Supertime Delivery Date"] }}",
  timeslot: "{{ order.attributes["Supertime Timeslot"] }}",
};
</script>
<script async src="{{ "https://getsupertime.com/supertime.js?shop=" | append: shop.domain }}"></script>
{% endif %}

  1. Visit your Checkout Settings page.
  2. Scroll down to the Order processing section.
  3. In the Additional Scripts text box, paste in the code snippet shown above.

  4. Click the Save button at the bottom of the page to save your settings.