I have created a checkbox in shipping form for local pick-up option. If user checks it, shipping address get populated as the store address. Checkbox on checkout page for autofill shipping address

Now I want to show, the custom created, shipping method for Local Pick-up only if the user checks the checkbox. Otherwise Local pick-up should not show. Shipping methods on the checkout page

Please tell me the best approach to do so in my custom module.

Thanks in advance!

  • it will be better to show a screenshot of what you want to achieve. Commented May 10 at 13:30


Your Answer

By clicking “Post Your Answer”, you agree to our terms of service and acknowledge you have read our privacy policy.