1

I'm trying to develop an 'optional' checkout step in the default Magento 2 checkout, required only if a specific shipping method is chosen.

I have my js/view/custom_step.js file set up to check the shippingMethod.method_code from the quote object but it only seems to be set after the isVisible() method is called.

Is there a method I can use to remove/add a checkout step on-the-fly during the checkout process?

4
  • Can you add more code lines of your custom module? Sep 13, 2016 at 13:10
  • At the moment my extra step is shown permanently - I'm not sure which code is relevant to my question?
    – James
    Sep 13, 2016 at 14:41
  • You should add more code lines. It's easier for community. Sep 13, 2016 at 14:46
  • did you get some solution Mar 6, 2017 at 13:00

0

Your Answer

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

Browse other questions tagged or ask your own question.