Development discussions around Shopify APIs
I hope this got directly to developers. Thank you for your attention...
In Admin panel, your can add special variables to your thank you page (Settings> Checkout> Order processing> Additional scripts). There is a variable for discount type ( {{discount.type}} ). Cool.
The problem is that the Thank you page has a JS object Shopify.checkout which also has a lot of useful info, it even has some info about discount (Shopify.checkout.discount.code) but the type is not available.
To make work with code pushed by webhooks easier (as I cannot use {{discount.type}} there) it would be great to have the same options in Shopify.checkout object. If not all, please add discount type if possible.
Thank you,
Martin
May we have a developer response to this?
Any reply here, preferrably from developers?
As a business owner, have you ever wondered when your customer's first impression of yo...
By Skye Jun 6, 2023We're excited to announce improvements to the threaded messaging experience in our communi...
By TyW May 31, 2023Thank you to everyone who participated in our AMA with Klaviyo. It was great to see so man...
By Jacqui May 30, 2023