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?
User | RANK |
---|---|
10 | |
5 | |
3 | |
3 | |
3 |
Photo by Marco Verch Sales channels on Shopify are various platforms where you can sell...
By Ollie May 25, 2023Summary of EventsBeginning in January of 2023, some merchants reported seeing a large amo...
By Trevor May 15, 2023With 2-Factor Authentication being required to use Shopify Payments, we’re here to help yo...
By Imogen Apr 26, 2023