Liquid, JavaScript, themes, sales channels
Hi, guys
Just wondering how I can hide a shipping method when a specific coupon used in checkout.
As a web developer, any API is available for this kind of situation?
Your help will be appreciated.
What framework are you using?
Hi, Michael
Do you mean what framework I'm gonna use in my App?
Are you using the Storefront API?
There is no shipping method object in the Storefront API. Only the Admin API has it.
If you don't want to add a shipping method at checkout, you don't have to.
If you are on Plus, you can do this via Scripts: https://help.shopify.com/en/manual/checkout-settings/script-editor
You would create a Shipping Script, detect the coupon used, and disable the gateway.
All Shopify plans include discount codes. There is a limit of 20,000,000 unique discount codes for each store.
https://help.shopify.com/en/manual/discounts/create-discount-codes
Portrait of Stephen positioned next to an image of planet Earth, with the Stephen's World ...
By JasonH Mar 18, 2024Digital marketers and app developers have tracked activity in apps and websites for yea...
By Ollie Mar 13, 2024February was an exciting month with Shopify Editions, informative webinars, and more! F...
By JasonH Mar 7, 2024