Magento2.3.1: How to call login popup on place order button and remove from proceed to checkout button.
I am trying to get solution with these files:-
vendor/magento/module-customer/view/frontend/web/js/model/authentication-popup.js
createPopUp: function (element) {
var options = {
'type': 'popup',
'modalClass': 'popup-authentication',
'focus': '[name=username]',
'responsive': true,
'innerScroll': true,
'trigger': '.proceed-to-checkout', // I want to add place order button class here
'buttons': []
};
this.modalWindow = element;
modal(options, $(this.modalWindow));
},
But I am not able to find which class should I use and how login popup works with .proceed-to-checkout
class, even I have changed this and test.
If there is any other approach please let me know and if I am on the right direction what place order class should I use here.