- Posts: 117
- Thank you received: 1
giving access to some pages only when paying for access
- rottenberg
-
Topic Author
- Offline
Less
More
4 years 7 months ago #339369
by rottenberg
-- HikaShop version -- : 4.4.5
-- Joomla version -- : 3.10.5
-- PHP version -- : 7.4.22
-- Browser(s) name and version -- : chrome 98.0.4758.82
-- Error-message(debug-mod must be tuned on) -- : Hello,
I want to have to pay to open some pages of the site.
Do you have a tuto or documentation to do it (preferably in french)
Best regards
Michel Rottenberg
Hello,
I want to have to pay to open some pages of the site.
Do you have a tuto or documentation to do it (preferably in french)
Best regards
Michel Rottenberg
-- Joomla version -- : 3.10.5
-- PHP version -- : 7.4.22
-- Browser(s) name and version -- : chrome 98.0.4758.82
-- Error-message(debug-mod must be tuned on) -- : Hello,
I want to have to pay to open some pages of the site.
Do you have a tuto or documentation to do it (preferably in french)
Best regards
Michel Rottenberg
Hello,
I want to have to pay to open some pages of the site.
Do you have a tuto or documentation to do it (preferably in french)
Best regards
Michel Rottenberg
Please Log in or Create an account to join the conversation.
4 years 7 months ago #339372
by nicolas
Replied by nicolas on topic giving access to some pages only when paying for access
Hi,
You have two ways to go about it:
- The simplest is to use HikaShop content tags.
In HikaShop 4.4.1, we've added content tags to display or hide text anywhere on your website frontend based on whether the current user has bought or not products on the website:
www.hikashop.com/home/blog/466-hikashop-4-4-1.html#tags
Here is more information about the different possible combinations:
www.hikashop.com/forum/install-update/90...tag-not-working.html
- another solution is to create one user group for each page you want to give access to. Then, create one product for each, and use the "user group after purchase" option of the product to select the corresponding user group. That way, after the user has purchased that product, his user account will be added to the corresponding user group, and give him access to the areas that you restricted for that user group only.
You have two ways to go about it:
- The simplest is to use HikaShop content tags.
In HikaShop 4.4.1, we've added content tags to display or hide text anywhere on your website frontend based on whether the current user has bought or not products on the website:
www.hikashop.com/home/blog/466-hikashop-4-4-1.html#tags
Here is more information about the different possible combinations:
www.hikashop.com/forum/install-update/90...tag-not-working.html
- another solution is to create one user group for each page you want to give access to. Then, create one product for each, and use the "user group after purchase" option of the product to select the corresponding user group. That way, after the user has purchased that product, his user account will be added to the corresponding user group, and give him access to the areas that you restricted for that user group only.
Please Log in or Create an account to join the conversation.
Time to create page: 0.140 seconds