Sign Up

Sign Up to our social questions and Answers Engine to ask questions, answer people’s questions, and connect with other people.

Have an account? Sign In

Have an account? Sign In Now

Sign In

Login to our social questions & Answers Engine to ask questions answer people’s questions & connect with other people.

Sign Up Here

Forgot Password?

Don't have account, Sign Up Here

Forgot Password

Lost your password? Please enter your email address. You will receive a link and will create a new password via email.

Have an account? Sign In Now

You must login to ask a question.

Forgot Password?

Need An Account, Sign Up Here

Please briefly explain why you feel this question should be reported.

Please briefly explain why you feel this answer should be reported.

Please briefly explain why you feel this user should be reported.

Sign InSign Up

The Archive Base

The Archive Base Logo The Archive Base Logo

The Archive Base Navigation

  • SEARCH
  • Home
  • About Us
  • Blog
  • Contact Us
Search
Ask A Question

Mobile menu

Close
Ask a Question
  • Home
  • Add group
  • Groups page
  • Feed
  • User Profile
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Buy Points
  • Users
  • Help
  • Buy Theme
  • SEARCH
Home/ Questions/Q 9167469
In Process

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: June 17, 20262026-06-17T15:23:54+00:00 2026-06-17T15:23:54+00:00

i had added 3 customer groups my openacart admin, that owner seller guest what

  • 0

i had added 3 customer groups my openacart admin, that

  1. owner
  2. seller
  3. 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…

  • 1 1 Answer
  • 0 Views
  • 0 Followers
  • 0
Share
  • Facebook
  • Report

Leave an answer
Cancel reply

You must login to add an answer.

Forgot Password?

Need An Account, Sign Up Here

1 Answer

  • Voted
  • Oldest
  • Recent
  • Random
  1. Editorial Team
    Editorial Team
    2026-06-17T15:23:55+00:00Added an answer on June 17, 2026 at 3:23 pm

    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:

    $this->data['heading_title'] = $this->language->get('heading_title');
    

    Add:

    $id = $this->customer->getCustomerGroupId();
       if ($id == 1){
      $this->redirect($this->url->link('custom_page1', '', 'SSL'));
       }
       if ($id == 2){
      $this->redirect($this->url->link('custom_page2', '', 'SSL'));
       }
    ....
    

    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:

                $this->response->setOutput($this->render());
        } else {
        ......
    

    Add before:

    $id = $this->customer->getCustomerGroupId();
            if ($id == 1 && $information_id == 7){
                $this->data['heading_title'] = 'Not allowed.';
                $this->data['description'] = 'You are not allowed to view this page';
            }
    

    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.

    • 0
    • Reply
    • Share
      Share
      • Share on Facebook
      • Share on Twitter
      • Share on LinkedIn
      • Share on WhatsApp
      • Report

Sidebar

Related Questions

How I can delete an object which I had added before with this code.
I just added this to my web.xml on my JBOSS server. But it had
We recently added a feature to our software that requires .NET 2.0 SP2. This
I have Written a webservice with VS2008 after I had Added Reference to that
sorry I posted this in the google group before I realized you had moved
I recently added some url re-writing to my web application and had to added
I had an application written without ARC, now I added ARC and I do
I added a project, Project2, to my solution. It already had another project lets
Had a page that was working fine. Only change I made was to add
Had a good search here but can't see anything that gets my mind in

Explore

  • Home
  • Add group
  • Groups page
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Users
  • Help
  • SEARCH

Footer

© 2021 The Archive Base. All Rights Reserved
With Love by The Archive Base

Insert/edit link

Enter the destination URL

Or link to existing content

    No search term specified. Showing recent items. Search or use up and down arrow keys to select an item.