Cart attributes changed on order page not updating on status page

baklavanmore
Tourist
8 0 1

I added a delivery date on my site following the Shopify guideline. I can see the Date on the order page under Additional Details and I am able to edit it. I also added the delivery date on the order status page using the following code:

 

<script>
Shopify.Checkout.OrderStatus.addContentBox (
'<p><h2>Pickup date</h2><br><h4>{{ attributes.Date }}</h4></p>'
)
</script>

 

The issue I have is when I change the delivery date from the order page, that does is not reflected on the order status page. I need it to show the updated date not the original one and I can't figure out why its doing that.

0 Likes