Discussions

Hide "Add to cart" - Button for guests

Hello!

Guests should have the permission to see the products of the shop, but not to add them to a cart.
How can I do that?

Thanks, Marc

Posted: Feb 23, 2012

Comments

k4m1 on June 19, 2012

I used field permissions for the product reference permissions to hide for anonymous, and two separate pages in my views 1 with access to authenticated to show the cart and other page without the cart (overridden of course) and a nice little global header stating you gotta log in sucka.

this took me all of 2 hours to setup and get started with commerce. I just switched from ubercart which I had problems the last two weeks with hiding price / cart cleanly. +1 commerce off the bat! let's see how this 5,000 product import goes.

aurumnonvulgi on January 25, 2013

Would you mind giving a little more details?
I've downloaded and installed Field Permissions module, what do I do from there?

Thanks in advance

Erik

Sem on February 26, 2013

A little off topic, but why hide add to cart? Personally I get irritated when an online shops request me to login.

It is like standing in a brick and mortal shop at the register and the salesperson tells me to hand in all kind of information before I am allowed to buy.

Perhaps there are good reasons to do so, however.