Controlling Access to Products via Subscription

  • Posts: 36
  • Thank you received: 6
12 years 3 weeks ago #72334

I am hoping to get some advice on how to setup a store that includes a membership model. I have several thousand digital products. Right now there are two main types of products, ProductA and ProductB. I would like some of both products be to available for purchase to anyone, but the majority of ProductA will be available (free) to members of the site. I will also have premium content on my website that is available only to members.

I am thinking of using Akeeba subscriptions to handle the membership part. I will use it to protect the premium content. The first question is how to control access to ProductA that are available only to members. I want to manage all the products and the membership purchase through hikashop. I want non-members to see the product and know they can get it only via membership. I want members to be able to download it.

Should I put some custom fields on ProductA and then modify the templates to handle this?

Another tricky aspect is limiting the number of downloads of ProductA a member can make. When I sell a membership for example, I would like them to have access to content for 30 days and be able to download 10 ProductA in the 30 days. To do this I figure I will have to hook into the order callback onAfterOrderCreate. I will have to track the number of downloads in a custom table or on a custom user field. When they use up all their download quota, I will change their subscription status from PremiumAndDownloads to PremiumOnly.

One big question is if ProductA is free and downloadable to a member, is an order even generated? Is there a way to know the download was performed?

Does this sound like a reasonable plan or is there some other approach using hikashop built-in functionality, like discounts, to get this to work?

Thanks in advance for any advice you can give.

Cheers!

Please Log in or Create an account to join the conversation.

  • Posts: 82818
  • Thank you received: 13361
  • MODERATOR
12 years 2 weeks ago #72494

Hi,

You should configure that plugin of akeeba subscriptions in order to attribute a user group to the user when he is assigned a subscription:
www.akeebabackup.com/documentation/akeeb...egration-joomla.html
Then, in each product, you can select the access level of the product so that it would or wouldn't display based on the user groups of the current user. Likewise, you can have different prices in your products with different access levels in order to display a different price to the user based on his user groups. These access level options are only available with the Business edition.

There is already a download tracking system in HikaShop. You can configure it in the Files tab of the configuration where you can set a max period and a max number of downloads for your files.

Yes, it will go via the checkout and an order will be generated. The price of the product is irrelevant to that. The download will be available to the user as long as the product is in a confirmed order of the user.
That is unless you tick the "free download" checkbox of the file which would mean that the product would be downloadable directly on the product page without doing anything.

The following user(s) said Thank You: wfoster3

Please Log in or Create an account to join the conversation.

  • Posts: 36
  • Thank you received: 6
12 years 2 weeks ago #72771

Thanks for the detailed answer. I am looking forward to getting started with hikashop!

Please Log in or Create an account to join the conversation.

Time to create page: 0.058 seconds
Powered by Kunena Forum