Discussing Shopify Functions development, deployment, and usage in Shopify apps.
In the store, I have two types of products: those using general shipping rates and subscription products. Problems arise in two scenarios.
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.
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.
Is it possible to always display the general shipping rate to users when they have only subscription products in their cart?
Is it possible to hide the subscription shipping rate when products are mixed (subscription and one-time purchases)?
Thank you for your help!
Maybe MoveOperation is good option?