Re: How to hide the shipping method Recurring shipments in shopify checkout.

How to hide the shipping method Recurring shipments in shopify checkout.

monchan
Shopify Partner
3 0 4

Shop has already moved to Checkout Extensibility.

 

When I add a subscription product and a regular product to my cart at the same time and proceed to the checkout, the shipping method is split into 'first delivery' and 'recurring delivery'.


スクリーンショット 2024-06-12 15.23.13.png

There is no difference in delivery method between regular and subscription products, so we don't want to split them into 'first delivery' and 'recurring delivery'.

I want to display the shipping method as if I was only buying regular products.


I have tried the following, but it does not work.

Is there a flaw in the code?

 

 

...  
if(flagSubsc) {
    if (input.cart.deliveryGroups.length > 1) {
      const secondGroup = input.cart.deliveryGroups[1];
      for(const option of secondGroup.deliveryOptions){
        OPERATIONS_LIST.push({
          hide: {
            deliveryOptionHandle: option.handle
          }
        });
      }
    }
  }

  return {
    operations: OPERATIONS_LIST
  };

 

 

I have tried Operation Hide." HIDE", but not only did it not actually appear, but the delivery method was removed.
So I got an error like there is no shipping method to choose from.

 

スクリーンショット 2024-06-12 15.35.56.png

 

Do you know if this is possible with the shopify functions or Checkout UI extensions.

If anybody has a solution, it would be greatly appreciated. Thanks!

Replies 8 (8)

MagaliWD
Shopify Partner
23 0 5

Hy Monchan, looking for the same.

Or just change the wording on this recurring delivery block.

Did you find a solution?

Thanks.

monchan
Shopify Partner
3 0 4

Hi MagaliWD!

 

Unfortunately, I have not yet found a solution.
Sorry for the Japanese, but I have not found a way to change the text "Recurring shipments", although I can change the text "通常配送"...

MagaliWD
Shopify Partner
23 0 5

Hi Monchan, to change the text "Recurring shipments" you can go there and search for recurring.

Screenshot 2024-06-14 at 10.25.29.png

If you succeed to change the text in the subscription delivery method, can you tell me how?

Thanks.

OllieB
Shopify Partner
4 0 0

I am also having this problem.

For me this is appearing on all subscription orders (including those without a non-recurring product in the cart). Something must have changed recently.

Would greatly appreciate a solution.

OllieB_0-1718393346130.png

 

iCart_App
Shopify Partner
615 59 111

Hello @monchan,

 

When a customer adds both a regular product and a subscription product to the cart, Shopify’s default behaviour is to separate the shipping methods into 'first delivery' for the regular product and 'recurring delivery' for the subscription product. This happens because Shopify treats subscription deliveries differently by default.

Using apps that specialize in managing delivery dates and shipping methods can help control how shipping options are presented at checkout. Consider apps like Steller Delivery Date & Pickup that offer more customization.

  • This app can help by allowing you to set specific delivery dates and manage shipping rules, which might help merge shipping methods.
  • Customize and control delivery dates for all product types, ensuring consistent delivery methods.
  • Set rules applying the same shipping method to subscriptions and regular products.

Check out the app here: Steller Delivery Date & Pickup 

iCart Cart Drawer Cart Upsell App


- If you find the solution helpful, please accept and like it
- To learn more visit www.identixweb.com
monchan
Shopify Partner
3 0 4

Thank you for introducing me to the app.
I will try this app.


I will report back here to see if I have made the change.

Malik_
Shopify Partner
3 0 1

Hey Monchan, were you able to fix your problem using this app?

 

RemiLPE
Shopify Partner
10 0 4

Hello !

I have the same problem, there is no solution to hide the block 'recurring delivery' ?
Without getting this error 

CleanShot 2024-07-19 at 14.21.33.png
Best,
Rémi