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.
User | RANK |
---|---|
2 | |
2 | |
2 | |
2 | |
2 |
Transform this holiday season into a shopping spree. Plus, learn how to effortlessly open ...
By Jasonh Dec 8, 2023Make the shift from discounts to donations, and witness your business not only thrive fina...
By Holly Dec 4, 2023On our Shopify Expert Marketplace, you can find many trusted third party developers and fr...
By Arno Nov 27, 2023