Dedicated to the Hydrogen framework, headless commerce, and building custom storefronts using the Storefront API.
Hello,
I'm working on a headless store theme using the shopify storefront API.
I would like to ask, what is the best way to implement a headless store discount, even the entry discount by input field or the variant discount?
I'm following the storefront documentation and API which I couldn't find.
https://shopify.dev/docs/api/storefront
In the documentation I did not find the flow because it should be implemented according to the API step by step.
I'm at a loss, I would really appreciate it if you could provide some example instructions or tips.
Thanks from a desperate guy