Certain products only available to buy when logged in?

Events happening in the community are now at Drupal community events on www.drupal.org.
JmsCrk's picture

I want to have a few 'members only' products where anyone can view the product page but only those logged in can actually purchase them. However, the majority of the other products on the site area available to buy whether logged in or not (purchasing policy is set to 'flexible').

Is there a way to do this using ec 3.4 on drupal 5.5?

Comments

If you don't want them to

gordon's picture

If you don't want them to see the products then you can use something like simple_access to restrict access to members only.

See http://drupal.org/project/simple_access

--
Gordon Heydon

Yes, i could do that

JmsCrk's picture

Yes I could do that, but I want them to be seen by all but only bought if logged in - so there's an incentive to join.

Change the anonymous purchasing field..

graphicengineer's picture

In the product's node, edit the "Anonymous purchases" functionality to "Registered Only" -- this will require the visitor to be a member to make the purchase. Leaving default "flexible" is fine for the other member/non-member products.

Ah, thanks! But...

JmsCrk's picture

Ah, thanks! That sounds like exactly what I am after - in fact, I should have seen that myself.

BUT - after just experimenting with it - it doesn't work. I can still add the item to the cart and complete the order without logging in at all, even when the individual item it set to "Registered Only". Is this maybe a problem or bug with ec? (I'm using ec 3.4 on drupal 5.5)

e-Commerce Module

Group organizers

Group notifications

This group offers an RSS feed. Or subscribe to these personalized, sitewide feeds: