Javascript callback to open account side menu
-
Hello,
I am customizing my checkout page and would like to add a link that opens the registration sidebar.
I’ve looked through functions.js, but I can’t figure out if there’s a javascript function I can call to accomplish this. I’m looking at woodmartThemeModule.loginSidebar = function() {…}
but I don’t know how to call that from my own javascript.
Any help you can give?
Thanks.
Hi,
Try to use the following JS code to open the sidebar
jQuery('.login-side-opener').click();
Regards
This is why I’m not a good developer! Such a simple solution and I was thinking way too hard.
Thank you!
The topic ‘Javascript callback to open account side menu’ is closed to new replies.