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.

Re: Shopify Functions Delivery Customization

Shopify Functions Delivery Customization

Rafał92
Shopify Partner
6 0 1

In the store, I have two types of products: those using general shipping rates and subscription products. Problems arise in two scenarios.

  1. When the cart contains only subscription products, users are limited to the subscription shipping method at the checkout, with no option to choose any other shipping method. In this case, I would like to display general shipping rates so that users can choose a convenient shipping option.

  2. The second issue occurs when a user purchases one-time products (using general shipping rates) along with a subscription product (subscriptions rate). In the checkout, all shipping methods are displayed (2 methods from general shipping rates and one subscription shipping rate). In this situation, I would like to hide the shipping method intended for subscription products.

When using Shopify Functions Delivery Customization to hide the subscription shipping rate and attempting to order only such products, an error of inability to place the order occurs. However, when the cart is mixed, all shipping methods are available.

 

  1. Is it possible to always display the general shipping rate to users when they have only subscription products in their cart?

  2. Is it possible to hide the subscription shipping rate when products are mixed (subscription and one-time purchases)?

Thank you for your help!

Replies 2 (2)

Rafał92
Shopify Partner
6 0 1

Maybe MoveOperation is good option?

otlab
Shopify Partner
7 0 11

Hi @Rafał92, did you manage to find a solution to this? 
One of the reasons why we upgraded to Shopify Plus was to remove the subscription delivery method when products are mixed (subscription and one-time purchases), and we're not getting any help from the support team, which an absolute disgrace when you're paying $2k/ month