Hi, I'm building a module for my client. This is my client's requirement.
How to force user login when trying to add product to cart and after login the product should be in the cart and also redirect the user to the product page.
do anyone has any opinion or suggestions?