[Skip to main content](#vessel-content)

#   Conditional access to a menu after paying for a product

##

- **[farzadfarzad](/forum/user/55939-farzadfarzad "View farzadfarzad's Profile")**
- [![farzadfarzad's Avatar](https://www.hikashop.com/media/kunena/core/svg/person.svg)](/forum/user/55939-farzadfarzad "View farzadfarzad's Profile") Topic Author
- [ Offline](/forum/user/55939-farzadfarzad)

Less More

- Posts: 20
- Thank you received: 0
-
-

2 years 6 months ago [\#360327](#360327) by [farzadfarzad](/forum/user/55939-farzadfarzad "View farzadfarzad's Profile")  *[Conditional access to a menu after paying for a product](/forum/35-orders-management/908037-conditional-access-to-a-menu-after-paying-for-a-product#360327 "-- HikaShop version -- : 5.0.4 -- Joomla version -- : 5.2  Hi We have a menu that the user must pay an amount to access this menu. To pay the amount, we created a product in Hikashop. Now, how to give it conditional access to the payment of this product so that the user can access the desired link after paying for the product?  thanks you.")* was created by *[farzadfarzad](/forum/user/55939-farzadfarzad "View farzadfarzad's Profile")*

-- HikaShop version -- : 5.0.4
-- Joomla version -- : 5.2

Hi
We have a menu that the user must pay an amount to access this menu. To pay the amount, we created a product in Hikashop. Now, how to give it conditional access to the payment of this product so that the user can access the desired link after paying for the product?

thanks you.

Please [Log in](/login?return=aHR0cHM6Ly93d3cuaGlrYXNob3AuY29tL2ZvcnVtL29yZGVycy1tYW5hZ2VtZW50LzkwODAzNy1jb25kaXRpb25hbC1hY2Nlc3MtdG8tYS1tZW51LWFmdGVyLXBheWluZy1mb3ItYS1wcm9kdWN0P3RtcGw9bWFya2Rvd24=) or [Create an account](/component/users/registration?Itemid=101) to join the conversation.

- **[nicolas](/forum/user/63-nicolas "View nicolas's Profile")**
- [![nicolas's Avatar](https://www.hikashop.com/media/kunena/avatars/resized/size144/users/avatar63.png?1793428657)](/forum/user/63-nicolas "View nicolas's Profile")
- [ Offline](/forum/user/63-nicolas)

Less More

- Posts: 86359
- Thank you received: 14294
-
-

2 years 6 months ago [\#360329](#360329) by [nicolas](/forum/user/63-nicolas "View nicolas's Profile")  Replied by *[nicolas](/forum/user/63-nicolas "View nicolas's Profile")* on topic *[Conditional access to a menu after paying for a product](/forum/35-orders-management/908037-conditional-access-to-a-menu-after-paying-for-a-product#360329 "-- HikaShop version -- : 5.0.4 -- Joomla version -- : 5.2  Hi We have a menu that the user must pay an amount to access this menu. To pay the amount, we created a product in Hikashop. Now, how to give it conditional access to the payment of this product so that the user can access the desired link after paying for the product?  thanks you.")*

Hi,

I would recommend doing it through a user group:
- create a user group in Joomla
- configure your menu's access so that only users of this user group can access it
- in your HikaShop product, select this user group in the "user group after purchase" setting
That way, after the purchase of the product, the user group will be added to the user account, and the user will be able to access the menu with your restricted content.

While this method is nice, it has several inconvenients:
- your checkout needs to offer login/registration as guest users can't have user groups.
- after the purchase, the user will be logged out of the website so that he can log back in to get his new access due to the caching of the user group accesses by Joomla.
- it requires HikaShop Business.

Another more lightweight method is to use content tags:
[ www.hikashop.com/forum/install-update/90...tag-not-working.html](https://www.hikashop.com/forum/install-update/902105-hkshow-bought-tag-not-working.html)
This allows you to add tags in your Joomla articles to provide access to part of the article based on whether the user bought a specific product or not.
And it can also be used in other contents on the website, not only Joomla articles.

Please [Log in](/login?return=aHR0cHM6Ly93d3cuaGlrYXNob3AuY29tL2ZvcnVtL29yZGVycy1tYW5hZ2VtZW50LzkwODAzNy1jb25kaXRpb25hbC1hY2Nlc3MtdG8tYS1tZW51LWFmdGVyLXBheWluZy1mb3ItYS1wcm9kdWN0P3RtcGw9bWFya2Rvd24=) or [Create an account](/component/users/registration?Itemid=101) to join the conversation.

Board Categories HikaShop Install &amp; Update Product &amp; Category Display Content Creation Sales and Orders Orders management Reports &amp; Statistics Customers Checkout Payment Methods Shipping Methods Import &amp; Export (CSV, XLS…) Specific Features Affilation Taxes Wishlist Vote Carousel &amp; Slider Mass Actions Filters &amp; Search Discount &amp; Coupon Feature Request Integrations Showcase General Talk about HikaShop Development HikaShop 3.0 Beta Translation Commercial Jobs HikaShop Components HikaMarket Market: Feature requests Market: How to? Market: Bug Report HikaSerial General talk about HikaSerial Serial: Bug Report Serial: How to? Support en Français de HikaSerial (French Support) HikaSubscription HikaAuction Auction: Feature requests Auction: How to? Auction: Bug report Hikashop around the world Support en Français (French Support) Russian FAQ. Курс выживания с Hikashop. Частые вопросы и о Расширения Hikashop Наши сайты на Hikashop 日本語版サポート(Japanese Support) Thai German Archives Bug Report How to?

[](/forum/topics/feed/mode-topics?format=feed&type=rss)

Time to create page: 0.042 seconds

[Powered by](/forum/credits) [Kunena Forum](https://www.kunena.org)
