I add a popup login form in my magento 2 template and when I add a product to the wishlist and I'm not logged in, I want to show the popup for the login and then add to wishlist the product.
Anyone knows how to do it?
Thanks
magento2wishlist
I add a popup login form in my magento 2 template and when I add a product to the wishlist and I'm not logged in, I want to show the popup for the login and then add to wishlist the product.
Anyone knows how to do it?
Thanks
Best Answer
You can use code:
you can looking at vendor/magento/module-customer/view/frontend/templates/form/login.phtml
add in your layout
add styles
.block-customer-login{display: none;}