Subscriptions and serial keys / access to special content

For general questions and discussions specific to the AbleCommerce 7.0 Asp.Net product.
Post Reply
rpb3
Lieutenant (LT)
Lieutenant (LT)
Posts: 60
Joined: Fri Jan 23, 2009 11:20 am

Subscriptions and serial keys / access to special content

Post by rpb3 » Fri Nov 05, 2010 11:03 am

Just looking for any advice or suggestions anyone may have regarding this situation.

We have created a special section of our site that we want user to pay to access. I currently have it set that only logged in users with admin rights can access that content.

We'd like to create a product on our site that the user could buy and the access the paid for area. Any ideas? Can i create some kind of digital product with a subscription and then check to see if the logged in user had purchased that subscription?

Or should I create a digital product with serial keys and have them enter the serial key to gain access to the area?

Or am I making it too hard? Do you think I could just have them buy a digital product and then go to a special verification page where I could check their order history to see if they have purchased the product? I could store that "verification" in a custom table so they would only have to do it one time.

Thoughts? Advice? Anything?

Thanks in advance...
Rick

JaminLeather
Lieutenant, Jr. Grade (LT JG)
Lieutenant, Jr. Grade (LT JG)
Posts: 27
Joined: Fri Feb 05, 2010 9:37 am
Location: Myrtle Beach, South Carolina
Contact:

Re: Subscriptions and serial keys / access to special content

Post by JaminLeather » Tue Nov 09, 2010 9:19 am

When you set up a subscription, you can associate one or more groups with that subscription.

Once you create a new group for the premium content, it is easy to check if a user belongs to that group. Use somethings like the following in Page_Load for your new page(s).

Code: Select all

int premiumContentGroup = 999; //Group ID Number
User user = Token.Instance.User;
if (!user.IsInGroup(premiumContentGroup))
{
  //Redirect user to product page to purchase Premium Content?
}
There are other ways to accomplish what you want to do, but this is probably the easiest.
Jamin' Leather Catalog Outlet
http://www.jaminleather.com

Post Reply