0

I want that when someone adds a product to the shopping cart, it is redirected to the registration page. In this way I can restrict the purchase only to registered users, how can I do this? Thank you

1 Answer 1

1

You can just add checkout/cart/add pre-dispatch event and confirm if user is logged in or not and redirect to login page

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service and acknowledge you have read our privacy policy.

Not the answer you're looking for? Browse other questions tagged or ask your own question.