I have a onepage checkout and need a way to get every step while clicking through the checkout. As the page is completly loaded I guess I can only use JavaScript.


That is so far my only achievment. But every time I click forward and back in my checkout there is no further response from this row. How can I achieve this with JavaScript?


Try the below code, it works

In checkout/onepage.phtml,

To get the current section only when loads


To get the current section when change section in checkout

 Accordion.prototype.openSection = Accordion.prototype.openSection.wrap(
    function(parentMethod, section) {
        // Call parent method
| improve this answer | |

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service, privacy policy and cookie policy

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