on-internet
← Community

Hide deliverymethod SHIPPING Shopify

Stack Overflow ·

I have created an app for Shopify designed to enforce in-store pickup for specific products. However, the "shipping" option remains visible to customers. If a user switches to the shipping method while the cart contains items that are restricted to in-store pickup, an error message is displayed. These products are identified by the tag "pickup-only." I would like the shipping option to be completely removed from the checkout whenever such products are present in the cart. The code I am currently using to disable the shipping methods is provided below: Graphsql: query CartDeliveryOptionsTransfo

Comments

Sign in or sign up to comment and upvote.

No comments yet.