Disable pickup delivery method depending on cart

Disable pickup delivery method depending on cart

WalimAkki
Shopify Partner
10 0 1

Hello,

I would like to disable pickup delivery method on the information checkout interface only if the cart contains a specific product.

 

I did not manage to achieve that on Shopify, so I tried with an application called "Zapiet - pickup + delivery". It seems to work but only on the cart page, then the checkout page is not impacted, I do not have the selected delivery method, but all are proposed.

 

Does anyone face that issue ?

Replies 4 (4)

NadiaAnthony
Shopify Partner
76 11 17

I don't believe there is any way to make changes to the checkout. You can do some customization with a Shopify Plus plan, but at this time, the checkout is not accessible unfortunately. 

I help brands bridge the gap between complicated code and clear communication.
WalimAkki
Shopify Partner
10 0 1

Thank you for your response

NadiaAnthony
Shopify Partner
76 11 17

Absolutely, happy to help. I'm sorry it couldn't be resolved.

I help brands bridge the gap between complicated code and clear communication.

Rohan-developer
Shopify Partner
42 0 0

Shopify doesn't allow to modify the Pickup delivery at the checkout yet. However there is a small workaround you can follow. First remove the Pickup delivery option from your Shopify settings.

 

Since now Shopify API allows to hide shipping options conditionally, you can create a new shipping option called Pickup and you can disable that shipping method on the checkout page if the cart contains a specific product using the ShipRight app. To do that, follow the below steps:

 

  1. Add Pickup in the Select shipping methods field.
  2. Select the specific product in the Products field like the screenshot below.

 

pickupdisable.png

 

That's it. Now, when the cart contains the specified product, the "Pickup" shipping method will be hidden on the checkout page. Hope you find it useful.