Is there any way that we can hide the shipping option and only show the Store pickup option based on cart attributes?
I want to hide the shipping option when products are purchased through a wedding registry.
I have gone through Shopify functions! https://shopify.dev/…/delivery…/getting-started
but not sure if it’s possible or not!
2
Answers
There is no default functionality to enable this option. But there is not a big deal to develop a custom code that will show the Store pickup option for specified attributes/source of products in the cart.
If you use a Shopify plus store, you could use the Scripts Editor app like this example if not using a Shopify plus store and you are able to use a server like node.js using the Shopify admin api for carriers and based on conditions like line item properties, car notes, etc you could return the specific carriers for each order.