Dedicated to the Hydrogen framework, headless commerce, and building custom storefronts using the Storefront API.
Hey @filosganga.
I actually didn't know what these were either, I must be rusty with cart-level stuff.
Through testing, discount allocations can come from automatic discounts which are applied on the cart page. This doc implies that the discounts can also come from Shopify Scripts (Plus shops only) and manual discount entry, however I cannot get manual discount entry to work by any means, so I'm not sure about that one (even if it was added to the checkout already).
Hope that helps a little bit at least.
Cheers.
Alex | Shopify
- Was my reply helpful? Click Like to let me know!
- Was your question answered? Mark it as an Accepted Solution
- To learn more visit the Shopify Help Center or the Shopify Blog
Hi Alex,
Thank you for your reply, these are also my conclusions.
Is it possible to get the checkout id, from the current cart? In this way, I could use the storefront checkout API to fetch the applied discount.
Thanks