Learn how to control display of Menus according to plan subscribed by a user.
Menu Access App controls display of menus according to plan attached with the App.
Working of Menu Access app:-
Using this app administrator can take three decisions:-
Allowed:- The selected menus will be visible to user after subscribing attached plan.
Not Allowed:- If user had not subscribed the plan attached with the menu access app then he will not be allowed to view those menus.
Do Nothing:- If any menu does not restricted by any menu access app then it will work as default behavior.
For example:- Suppose
if there are 10 menus at front-end. Admin decided to
allow 5 menus after subscribing "Plan A", 2 menus after subscribing
"Plan B" and remaining 3 menus had to behave as their default behavior.
Case 1 :- Now, if "User X" subscribe "Plan A" then he will able to view 5 menus
and 3 remaining menus as per their default behavior.
Case 2 :- Now, if "User Y"
subscribe "Plan B" then he will able to view 2 menus and 3 remaining
menus as per their default behavior.
Case 3 :- If a user hasn't subscribed any
plan then the user will able to view only 3 remaining menus, as per
their default behavior.
Steps to create menu access app:-
Install menu access app from the extension manager.
Enable plugin "PayPlans-Menu Access" from the plugin manager.
Now select Menu Access app from the app store of PayPlans and fill the required details.
Using this app administrator can take three decisions :-
Allowed :- The selected menus will be visible to user after subscribing attached plan.
Not Allowed :- If user had not subscribed the plan attached with the menu access app then he will not be allowed to view those menus.
Do Nothing :- If any menu does not restricted by any menu access app then it will work as default behavior.
For eg.
:- Suppose if there are 10 menus at front-end. Admin decided to allow 5
menus after subscribing "Plan A", 2 menus after subscribing "Plan B"
and remaining 3 menus had to behave as their default behavior.
Now, if "User X" subscribe "Plan A" then he will able to view 5 menus and 3 remaining menus as per their default behavior.
Now, if "User Y" subscribe "Plan B" then he will able to view 2 menus and 3 remaining menus as per their default behavior.
If user had not subscribed any plan then he will able to view 3 remaining menus only, as per their default behavior.