force customers to login to view products

For general questions and discussions specific to the AbleCommerce GOLD ASP.Net shopping cart software.
Post Reply
Tea-Dev
Lieutenant (LT)
Lieutenant (LT)
Posts: 55
Joined: Wed Oct 12, 2011 11:15 am

force customers to login to view products

Post by Tea-Dev » Wed Apr 17, 2013 12:34 pm

Read a lot of the forum posts, but was unable to get this feature going.
I need to allow only registered and approved customers to be able to browse through the products and be able to add-to-cart. If they are not approved or have a valid account, basically they can do nothing.
One of the posts dicussed changing the web.config. I tried that, but the form was displayed without any CSS or Layout . No images... all text based.
<location path="Default.aspx">
<system.web>
<authorization>
<deny users="?" />
</authorization>
</system.web>
</location>

In another post, there was a discussion of using nVelocity, but I understand that is not working in GOLD.
#if($customer.IsAnonymous)
<a class="selectablelink" href="~/Login.aspx">SIGN IN</a>
#end

Can someone please share the code and files that need to be changed to accommodate allowing browsing products ONLY if they have an approved account.

Thanks.

:

fiddycent
Lieutenant, Jr. Grade (LT JG)
Lieutenant, Jr. Grade (LT JG)
Posts: 45
Joined: Tue Sep 03, 2013 12:30 pm

Re: force customers to login to view products

Post by fiddycent » Wed Oct 02, 2013 10:06 am

Hi new to Ablecommerce. I am looking for the same thing as original poster. Are there any good solutions out there for this?

User avatar
Shopping Cart Admin
AbleCommerce Admin
AbleCommerce Admin
Posts: 3055
Joined: Mon Dec 01, 2003 8:41 pm
Location: Vancouver, WA
Contact:

Re: force customers to login to view products

Post by Shopping Cart Admin » Wed Oct 02, 2013 1:18 pm

Hello,

AbleCommerce GOLD R6 seems to have what you're looking for:

[AC8-1904] - Ability to force a login before viewing retail storefront (members only store)
[AC8-1884] - Implement product-level user permissions (product membership)
Thanks for your support

Shopping Cart Guru
AbleCommerce.com
Follow us on Facebook

fiddycent
Lieutenant, Jr. Grade (LT JG)
Lieutenant, Jr. Grade (LT JG)
Posts: 45
Joined: Tue Sep 03, 2013 12:30 pm

Re: force customers to login to view products

Post by fiddycent » Wed Oct 02, 2013 3:22 pm

Awesome, I just installed R5 a few weeks ago haha. I will try to upgrade to R6 and see if this works.

pluggedin
Ensign (ENS)
Ensign (ENS)
Posts: 15
Joined: Sat Jan 19, 2013 5:02 pm

Re: force customers to login to view products

Post by pluggedin » Wed Feb 05, 2014 8:06 am

Hi AbleCommerce community

Can anyone direct us to some specifics on how to setup a members only store (Gold R6) that prohibits viewing products until you login with a previously assinged UID/Pwd?

In an earlier search on this I came across a reference to what I recall as a default group code that can be assigned to members (customers) to let them view and buy products only after they login, but I cannot find that reference now.

Thanks for you help.

jguengerich
Commodore (COMO)
Commodore (COMO)
Posts: 436
Joined: Tue May 07, 2013 1:59 pm

Re: force customers to login to view products

Post by jguengerich » Wed Feb 05, 2014 9:00 am

I haven't updated to R6 yet, but here is a thread I started a while ago that (eventually - read the whole thread) describes what I had to do for R5. Maybe it will help.
This was to require a log in before doing anything on the site, even just browsing products.
viewtopic.php?f=65&t=17316
Jay

User avatar
Katie
AbleCommerce Admin
AbleCommerce Admin
Posts: 2651
Joined: Tue Dec 02, 2003 1:54 am
Contact:

Re: force customers to login to view products

Post by Katie » Wed Feb 05, 2014 11:49 am

For R6, there are two new membership settings on the Configure > Store > General page. There is Access Restriction which allows you to limit access to the entire store. The options available are registered users only or authorized groups only. If you select authorized group, then you can pick one or more groups in the next option. Otherwise, a registered user is considered to have an account in the store and part of the _Default_ group.

Additionally, you can set the same type of membership viewing requirements on a per-product basis.

These are built-in features for R6. If you are using R5, then Jay's post should be able to get you going.

Thanks
Thank you for choosing AbleCommerce!

http://help.ablecommerce.com - product support
http://wiki.ablecommerce.com - developer support

pluggedin
Ensign (ENS)
Ensign (ENS)
Posts: 15
Joined: Sat Jan 19, 2013 5:02 pm

Re: force customers to login to view products

Post by pluggedin » Thu Feb 06, 2014 10:35 am

Thanks so much Katie and jguengerich!!

Post Reply