1

I want to remove the complete shipping method from the frontend.Even free shipping also we don't need.If we disable all the shipping methods from backend the next button will not come on the checkout page.Can anyone please suggest how to remove shipping method.

0

Fisrt overwrite this file in your custom module with rederer layou methodvendor/magento/module-checkout/view/frontend/web/template/shipping.html

<!-- ko if: (isConditionTrue) -->
<li id="custom_shipping_method" class="checkout-shipping-method" data-bind="fadeVisible: visible(), blockLoader: isLoading" role="presentation">
   <!-- Your code -->
</li>
<!-- /ko -->

Not the answer you're looking for? Browse other questions tagged or ask your own question.