jeudi 26 mars 2015

Redirect user to Login/Registration when adding to cart if not logged in


In my store i want user to first login then add items to cart. If login session is maintained then product will be added to cart else will be sent to login/register. I have "Add To Cart" button in few places like product list page, product detail page. Where should i change in one single place to reflect in all places. I am new to wordpress.

Please Help. Thanks.





Aucun commentaire:

Enregistrer un commentaire