2

I want to show Ajax suit modules, Ajax login popup on cart page when press checkout button. right now, I used

 $('.modals-wrapper .popup-authentication').addClass("_show")

and it shows magento2 default popup login modal. but i want to change it to Ajax suit login popup.

Can any body guide me ?

0

Just create a global class on login.phtml, then add below code into Magento_Checkout, form.phtml

$('.global-login').click();

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.