0

How i can check if user is on my custom step? I need to call certain function ONLY if he is on my custom step ( after shipping step, before payment ). Now i created custom step by js-component and functions in this component are called as soon as checkout page is downloaded ( on shipping step ) but i need to perform logic only on next, custom step.

1 Answer 1

0

you can add code in the js file

Magento_Checkout\js\view\progress-bar.js

in this file function navigateTo is there, where you can add your custom code

Your Answer

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

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