Hello,
I created a custom liquid one-step checkout page with custom css and javascript codes, I passed the product details, quantity and the price through the liquid objects.
I have also a discount code input and I want to check if the discount code available. However, due to security purposes, I can’t access the discount object. The same thing for the Storefront API, it doesn’t allow accessing the priceRule field.
Is there another method to achieve that?
Thank you.