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

  • Home
  • SEARCH
  • 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 6242337
In Process

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: May 24, 20262026-05-24T11:56:13+00:00 2026-05-24T11:56:13+00:00

Situation right now: I’ve got a live-system and its running very well. I DO

  • 0

Situation right now:

I’ve got a live-system and its running very well.
I DO NOT have a testing system.

Our live-system is a multi-store with several storeviews on one website.

PROBLEM:

I need to to add one more storeview and work on that within that livesystem. How can I restrict access to this storeview, so that no customer, whether logged in or not, can see this store? Is this even possible?

I need just an admin (me) to access this storeview.

Sure, I could disable all storeswitcher in the other live-stores but I don’t think, this would be a nice solution to my problem. 🙂

  • 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-05-24T11:56:14+00:00Added an answer on May 24, 2026 at 11:56 am

    If you do not want to show up currently edited store (view) on your language dropdown select field, do the following:

    1. Add a new customer-group called “admins” to your shop and remember the id which appears in the list.

    2. If not already done, add a new customer for the admin and assign it to the just created customer-group

    3. Go to system->store-view and click on the link in the StoreView Name – column which you dont want to show up on the frontend and klick it, you’ll see the StoreView id in the url /index.php/admin/system_store/editStore/store_id/3/key/, remember it

    4. Now edit the file: app/design/frontend/default/your_shop/template/page/switch/languages.phtml

    from:

    <?php if(count($this->getStores())>1): ?>
    <div class="form-language">
        <label for="select-language"><?php echo $this->__('Your Language:') ?></label>
        <select id="select-language" title="<?php echo $this->__('Your Language') ?>" onchange="window.location.href=this.value">
        <?php foreach ($this->getStores() as $_lang): ?>
            <?php $_selected = ($_lang->getId() == $this->getCurrentStoreId()) ? ' selected="selected"' : '' ?>
            <option value="<?php echo $_lang->getCurrentUrl() ?>"<?php echo $_selected ?>><?php echo $this->htmlEscape($_lang->getName()) ?></option>
        <?php endforeach; ?>
        </select>
    </div>
    <?php endif; ?>
    

    to:

    <?php 
    // StoreView-Ids we dont want to show on frontend
    $stores = array(3);
    // Set admin group id with access to the above storeviews
    $frontendAdminGroupId = 5; 
    // Get current user group id
    $currentGroupId = $this->helper('customer')->getCurrentCustomer()->group_id;
    ?>
    <?php if(count($this->getStores())>1): ?>
    <div class="form-language">
        <label for="select-language"><?php echo $this->__('Your Language:') ?></label>
        <select id="select-language" title="<?php echo $this->__('Your Language') ?>" onchange="window.location.href=this.value">
        <?php foreach ($this->getStores() as $_lang): ?>   
            <?php foreach ($stores as $_adminStore) : ?>            
                <?php /* Admin Store! */?>
                <?php if($_adminStore == $_lang->getId() ) : ?>
                    <?php if($currentGroupId == $frontendAdminGroupId) : ?> 
                        <?php $_selected = ($_lang->getId() == $this->getCurrentStoreId()) ? ' selected="selected"' : '' ?>
                        <option value="<?php echo $_lang->getCurrentUrl() ?>"<?php echo $_selected ?>><?php echo $this->htmlEscape($_lang->getName()) ?></option>
                    <?php endif; ?>
                <?php else: ?>
                <?php /* Normal User! */?>
                     <?php $_selected = ($_lang->getId() == $this->getCurrentStoreId()) ? ' selected="selected"' : '' ?>
                    <option value="<?php echo $_lang->getCurrentUrl() ?>"<?php echo $_selected ?>><?php echo $this->htmlEscape($_lang->getName()) ?></option>
                <?php endif; ?>
            <?php endforeach; ?>    
        <?php endforeach; ?>
        </select>
    </div>
    <?php endif; ?>
    

    you also have to edit the checkout and any other part of magento which shows up a select field for the store view, that’s just a half solution. good luck 🙂

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

Sidebar

Related Questions

I have a situation, don't know if my approach is right or not please
I have a situation where I'm downloading a lot of files. Right now everything
Right now, I have a working HTML template system written in OCaml. The general
I don't have the code available right now, but I'll describe my situation and
I'm using CodeIgniter 2.1.2 and here's my situation right now. I have a model
In many situation need to rotate the controller and is not working. Right now
I'm in a bit of a situation right now. I need software that does
Here is the situation: the company that I'm working in right now gave me
I am working on game engine prototype and have the following question: Right now
Right now, I have a table whose primary key is an auto_increment field. However,

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.