Our Partner & Developer boards on the community are moving to a brand new home: the .dev community forums! While you can still access past discussions here, for all your future app and storefront building questions, head over to the new forums.

Is it possible to use checkout customizations to show hide the delivery methods

Is it possible to use checkout customizations to show hide the delivery methods

Ettiene
Shopify Partner
5 0 12

I would like to know if its possible to show or hide delivery methods in the information screen? Im setting up a store where some product variants can only be shipped and others can only be picked up at stores participating stores. Since there are many partricipating stores that have not shared inventories, is there a way to do this using a method like checkout customizations?

 

thank you. 

Replies 5 (5)

Liam
Community Manager
3108 344 902

Hi Ettiene,

 

This could be a more complex situation than it looks as you may need to manage a situation where a checkout has both shipped and non-shipped products. It is possible to customise the shipping methods though, so this could be possible via methods described here

Liam | Developer Advocate @ Shopify 
 - Was my reply helpful? Click Like to let me know! 
 - Was your question answered? Mark it as an Accepted Solution
 - To learn more visit Shopify.dev or the Shopify Web Design and Development Blog

Ettiene
Shopify Partner
5 0 12

Thank you for your response Liam

 

What I did to address the case where a checkout could have both shippable and non shippable products was to add a validation in the cart page so that each order has to be either all shippable or all non-shippable products. 

 

What i cant find is how to hide the delivery method toggle using the customizations. 

delivery-method.png

 

AsimTahir1
Shopify Partner
10 0 2

Hi @Ettiene,

did you find any solution for this to hide/show the delivery Methods?
if Yes which function/extension you used to achieve this thing?

your help will be very helpfull for us.

RaveR_7
Shopify Partner
3 0 0

Can we add a condition, where if all products are pick_up and we need to hide other option in checkout.
Actually I wanted to add delivery options in Product page, and whichever options is selected in product page shall we displayed in cart page, and some conditions too, as I mentioned above in 1st line.
Is it possible to do so using shopify functions - delivery customization?

Rohan-developer
Shopify Partner
42 0 0

Hello,

 

You can control delivery methods based on product variants using the ShipRight app. Here’s how:

 

  1. Open the app and click the "Add a new rule" button.
  2. Click "Add a new condition" and select "Product variations".
  3. Choose "Hide if found" and enter the pick-up only variant IDs in the "Product variant ID" field
  4. Select the shipping methods you want to hide in the "Select shipping methods" field.
  5. If your exact shipping option is not listed in the above field, add it in the "Additional shipping methods" field.
  6. Save the rule by clicking the "Save" button.

variants.png

 

Now, the selected shipping methods will be hidden based on the variants in the customer’s cart.