2 replies [Last post]
kangaroobin's picture
Offline
Joined: 04/20/2009
Juice: 10
Was this information Helpful?

When not logged in, and the add to cart button is selected, ubercart brings me to an empty cart page.

I have the box to allow anonymous purchasing unselected.

I would like to redirect them to the login page, with an error stating they must login.

What is the easiest way to do this?

Thanks!

ñull@drupal.org's picture
Offline
Joined: 01/26/2009
Juice: 114
Consistent look

We are talking about UC2?

I don't know if this is themable, but I would suggest that anonymous cart should just look the same as authenticated cart, for consistence sake.

If this is themable, can someone point out what the responsible function is for anonymous cart? The thing is that you cannot use the development module to find out, because that only works when logged in.

dansmuser's picture
Offline
Joined: 07/13/2009
Juice: 7
redirect to registration form

how to redirect to registration form, when anonymous user click [add to cart] ??

tnx b4