i had added 3 customer groups my openacart admin, that
- owner
- seller
- guest
what i am looking for when this customer login, each group customers want redirect to different pages…
for example:
if owner login – redirect to (ownerpage.php)
if seller login – redirect to (sellerpage.php)
if guest login – redirect to (guestpage.php)
and give some user page permision also for these group cutomers like admin user permisions…
any idea…? is there is any extension available or have to do any self coding…???
thanks…
Are these pages information pages? Anyway, you could setup redirect in catalog/controller/account/account.php
(Example uses Opencart 1.5.4.1)
Before this line:
Add:
Not sure what you mean by page permissions. Maybe you can revise your question to make it clearer.
[EDIT: 2013-01-23]
To restrict access to certain information pages you can check for requested information_id and current user group, then output custom content:
in catalog/controller/information/information.php find line 62:
Add before:
Modify condition to your needs.
You can do the same in other controllers, just remove the information_id check, of course.
Of course, you may want to just redirect user to home page or whatever, instead of showing custom message. But I think this is more elegant and less annoying to the user.
Hope this helps.