Personalized checkout and custom promotions with Shopify Scripts
Is it possible to access cart attributes inside the post purchase additional scripts? Similar to the example here https://shopify.dev/docs/api/ajax/reference/cart#update-cart-attributes let's say I have the following cart attribute set
{
attributes: {
'gift_wrap': 'Yes'
}
}
How can I access this value inside the post purchase page additional script? It seems liquid code does not work here but works correctly on order status page additional script using the following liquid code:
{{ attributes.gift_wrap }}
Thank you.
Hey! is there any updates on that? Have you solved how to get attributes in post purchase?
Discover how to increase customer engagement on your store with articles from Shopify A...
By Jacqui Apr 23, 2025Hey Community 👋 Did you know that March 15th is National Everything You Think Is W...
By JasonH Apr 1, 2025Discover how to increase the efficiency of commerce operations with Shopify Academy's l...
By Jacqui Mar 26, 2025