1
Answers
Vote up!
0
Vote down!

How do I restrict access to my store to registered members only?

I created a new front page to use as an entry portal to my Drupal Commerce store. I am using the Kickstart 2 distribution. I would like to restrict access to the store to members only. I have looked at both the Content Access module and the Simple Access module. There does not seem to be a way to restrict access to what was once the Kickstart front page...now the front page of my store.

Any ideas on how to accomplish this would be greatly appreciated!

Asked by: Seph
on November 15, 2013

1 Answer

Vote up!
1
Vote down!

Seph,

There are two things you should be aware of:

1) When dealing with "restricting access" it's very helpful if you build your site so that publicly accessible urls do not link to the restricted areas. This goes a long way to forcing users to funnel into your "members only" section.

2) Once you've got the "hard work" of making the content hard to find, next comes the actual access component. Each major catalog page in Kickstart 2 is a view. And there is a great section on all views that lets you force "restricted access." Additionally, if you want to force your product pages to be members-only, then you might consider just moving the permission to view those particular content types to "authenticated users."

Josh

Josh Miller
Answer by: Josh Miller
Posted: Nov 15, 2013

Comments

Thanks for the quick response!

That's great info. I'm still pretty new to much of this. I already built my site with menu items restricted by role. If there is another way to do this, can you point me in the right direction on how to make sure my public accessible urls do not link to restricted areas?

The product pages that I would change permissions on would be the product display content type..correct?

I looked in views and didn't see a specific view listed for the Kickstart front page.(Which is now the first page of my store.) Am I missing something?

- Seph on November 15, 2013