Redirected automatically to a store view based on a user group (B2C & B2B) - M2B2B account creationShowing different stores based on customer groupB2C/B2B website - Best practices and feedbackmain.CRITICAL: Plugin class doesn't exist302 Redirects for a specific store viewB2B / Wholesale and Product Options PriceHow to have 2 different registration forms in one module in magento 2 (B2B, B2C)User registration error in Magento 2 B2B moduleBest Seller Block (links not working) - Magento 2.2Getting Errors after MySQL database import

How did they achieve the Gunslinger's shining eye effect in Westworld?

Find duplicated column value in CSV

Inconsistent behavior of compiler optimization of unused string

Scrum Master role: Reporting?

Best way to deal with non-developers in a scrum team

Does a 3rd-level Wolf Totem barbarian get advantage against enemies when an ally is within 5 feet of the enemy?

Can a black dragonborn's acid breath weapon destroy objects?

Can an Aarakocra use a shield while flying?

How do I write "Show, Don't Tell" as a person with Asperger Syndrome?

Different pedals/effects for low strings/notes than high

How do governments keep track of their issued currency?

Arriving at the same result with the opposite hypotheses

Are "living" organ banks practical?

Soft question: Examples where lack of mathematical rigour cause security breaches?

At what point in time did Dumbledore ask Snape to do this thing?

Preventing Employees from either switching to Competitors or Opening Their Own Business

Understanding the TeXlive release cycle: What is the meaning of a TeXlive release and is it ever 'finished'?

Trapping Rain Water

How do you show, through your narration, a hard and uncaring world?

The eyes have it

Why does the Schrödinger equation work so well for the hydrogen atom despite the relativistic boundary at the nucleus?

How to chain Python function calls so the behaviour is as follows

How would a aircraft visually signal in distress?

What does the "c." listed under weapon length mean?



Redirected automatically to a store view based on a user group (B2C & B2B) - M2


B2B account creationShowing different stores based on customer groupB2C/B2B website - Best practices and feedbackmain.CRITICAL: Plugin class doesn't exist302 Redirects for a specific store viewB2B / Wholesale and Product Options PriceHow to have 2 different registration forms in one module in magento 2 (B2B, B2C)User registration error in Magento 2 B2B moduleBest Seller Block (links not working) - Magento 2.2Getting Errors after MySQL database import






.everyoneloves__top-leaderboard:empty,.everyoneloves__mid-leaderboard:empty,.everyoneloves__bot-mid-leaderboard:empty margin-bottom:0;








4















I have created two store views, one for B2C and one for B2B. I need that when a B2B customer login will be redirected automatically to the view created for their user group. But for B2C customers can use the normal store view. I'm creating a plugin to do this. I created these files in these paths:



/app/code/MyPlugin/CustomerLogin/etc/di.xml



<?xml version="1.0"?>
<config xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xsi:noNamespaceSchemaLocation="urn:magento:framework:ObjectManager/etc/config.xsd">
<type name="MagentoCustomerControllerAccountLoginPost">
<plugin name="myPluginCustomerloginLoginpostplugin" type="MyPluginCustomerLoginPluginLoginPostPlugin" sortOrder="1" />
</type>
</config>


/app/code/MyPlugin/CustomerLogin/Plugin/LoginPostPlugin.php



<?php

namespace MyPluginCustomerLoginPlugin;

class LoginPostPlugin

public function afterExecute(
MagentoCustomerControllerAccountLoginPost $subject,
$result)

//-- check group is retail customer or not
$objectManager = MagentoFrameworkAppObjectManager::getInstance();
$customerSession = $objectManager->create('MagentoCustomerModelSession');
if ($customerSession->isLoggedIn())
$groupId = $customerSession->getCustomerGroupId();
if ($groupId == 2)
$result->setPath('?___store=Wholesale&___from_store=Wholesale');


return $result;




And the view changes to the selected view (wholesale), but when I open a product or a category, the view changes to the predefined view, the change does not become effective. Any other idea of being able to make the fixed exchange?



This is the line that I do not know what to put in order that the scope of view remains:



$result->setPath('?___store=Wholesale&___from_store=Wholesale');



Any ideas to solve this problem? I need to make a change of store view and keep the change.










share|improve this question

















This question has an open bounty worth +50
reputation from Despotars ending ending at 2019-06-05 07:31:26Z">tomorrow.


Looking for an answer drawing from credible and/or official sources.


I need an answer for my question and I'm sure someone can help me






















    4















    I have created two store views, one for B2C and one for B2B. I need that when a B2B customer login will be redirected automatically to the view created for their user group. But for B2C customers can use the normal store view. I'm creating a plugin to do this. I created these files in these paths:



    /app/code/MyPlugin/CustomerLogin/etc/di.xml



    <?xml version="1.0"?>
    <config xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xsi:noNamespaceSchemaLocation="urn:magento:framework:ObjectManager/etc/config.xsd">
    <type name="MagentoCustomerControllerAccountLoginPost">
    <plugin name="myPluginCustomerloginLoginpostplugin" type="MyPluginCustomerLoginPluginLoginPostPlugin" sortOrder="1" />
    </type>
    </config>


    /app/code/MyPlugin/CustomerLogin/Plugin/LoginPostPlugin.php



    <?php

    namespace MyPluginCustomerLoginPlugin;

    class LoginPostPlugin

    public function afterExecute(
    MagentoCustomerControllerAccountLoginPost $subject,
    $result)

    //-- check group is retail customer or not
    $objectManager = MagentoFrameworkAppObjectManager::getInstance();
    $customerSession = $objectManager->create('MagentoCustomerModelSession');
    if ($customerSession->isLoggedIn())
    $groupId = $customerSession->getCustomerGroupId();
    if ($groupId == 2)
    $result->setPath('?___store=Wholesale&___from_store=Wholesale');


    return $result;




    And the view changes to the selected view (wholesale), but when I open a product or a category, the view changes to the predefined view, the change does not become effective. Any other idea of being able to make the fixed exchange?



    This is the line that I do not know what to put in order that the scope of view remains:



    $result->setPath('?___store=Wholesale&___from_store=Wholesale');



    Any ideas to solve this problem? I need to make a change of store view and keep the change.










    share|improve this question

















    This question has an open bounty worth +50
    reputation from Despotars ending ending at 2019-06-05 07:31:26Z">tomorrow.


    Looking for an answer drawing from credible and/or official sources.


    I need an answer for my question and I'm sure someone can help me


















      4












      4








      4


      2






      I have created two store views, one for B2C and one for B2B. I need that when a B2B customer login will be redirected automatically to the view created for their user group. But for B2C customers can use the normal store view. I'm creating a plugin to do this. I created these files in these paths:



      /app/code/MyPlugin/CustomerLogin/etc/di.xml



      <?xml version="1.0"?>
      <config xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xsi:noNamespaceSchemaLocation="urn:magento:framework:ObjectManager/etc/config.xsd">
      <type name="MagentoCustomerControllerAccountLoginPost">
      <plugin name="myPluginCustomerloginLoginpostplugin" type="MyPluginCustomerLoginPluginLoginPostPlugin" sortOrder="1" />
      </type>
      </config>


      /app/code/MyPlugin/CustomerLogin/Plugin/LoginPostPlugin.php



      <?php

      namespace MyPluginCustomerLoginPlugin;

      class LoginPostPlugin

      public function afterExecute(
      MagentoCustomerControllerAccountLoginPost $subject,
      $result)

      //-- check group is retail customer or not
      $objectManager = MagentoFrameworkAppObjectManager::getInstance();
      $customerSession = $objectManager->create('MagentoCustomerModelSession');
      if ($customerSession->isLoggedIn())
      $groupId = $customerSession->getCustomerGroupId();
      if ($groupId == 2)
      $result->setPath('?___store=Wholesale&___from_store=Wholesale');


      return $result;




      And the view changes to the selected view (wholesale), but when I open a product or a category, the view changes to the predefined view, the change does not become effective. Any other idea of being able to make the fixed exchange?



      This is the line that I do not know what to put in order that the scope of view remains:



      $result->setPath('?___store=Wholesale&___from_store=Wholesale');



      Any ideas to solve this problem? I need to make a change of store view and keep the change.










      share|improve this question
















      I have created two store views, one for B2C and one for B2B. I need that when a B2B customer login will be redirected automatically to the view created for their user group. But for B2C customers can use the normal store view. I'm creating a plugin to do this. I created these files in these paths:



      /app/code/MyPlugin/CustomerLogin/etc/di.xml



      <?xml version="1.0"?>
      <config xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xsi:noNamespaceSchemaLocation="urn:magento:framework:ObjectManager/etc/config.xsd">
      <type name="MagentoCustomerControllerAccountLoginPost">
      <plugin name="myPluginCustomerloginLoginpostplugin" type="MyPluginCustomerLoginPluginLoginPostPlugin" sortOrder="1" />
      </type>
      </config>


      /app/code/MyPlugin/CustomerLogin/Plugin/LoginPostPlugin.php



      <?php

      namespace MyPluginCustomerLoginPlugin;

      class LoginPostPlugin

      public function afterExecute(
      MagentoCustomerControllerAccountLoginPost $subject,
      $result)

      //-- check group is retail customer or not
      $objectManager = MagentoFrameworkAppObjectManager::getInstance();
      $customerSession = $objectManager->create('MagentoCustomerModelSession');
      if ($customerSession->isLoggedIn())
      $groupId = $customerSession->getCustomerGroupId();
      if ($groupId == 2)
      $result->setPath('?___store=Wholesale&___from_store=Wholesale');


      return $result;




      And the view changes to the selected view (wholesale), but when I open a product or a category, the view changes to the predefined view, the change does not become effective. Any other idea of being able to make the fixed exchange?



      This is the line that I do not know what to put in order that the scope of view remains:



      $result->setPath('?___store=Wholesale&___from_store=Wholesale');



      Any ideas to solve this problem? I need to make a change of store view and keep the change.







      magento2 customer redirect store-view b2b






      share|improve this question















      share|improve this question













      share|improve this question




      share|improve this question








      edited May 30 at 9:51









      Chirag Patel

      3,160627




      3,160627










      asked May 23 at 9:38









      DespotarsDespotars

      1879




      1879






      This question has an open bounty worth +50
      reputation from Despotars ending ending at 2019-06-05 07:31:26Z">tomorrow.


      Looking for an answer drawing from credible and/or official sources.


      I need an answer for my question and I'm sure someone can help me








      This question has an open bounty worth +50
      reputation from Despotars ending ending at 2019-06-05 07:31:26Z">tomorrow.


      Looking for an answer drawing from credible and/or official sources.


      I need an answer for my question and I'm sure someone can help me






















          1 Answer
          1






          active

          oldest

          votes


















          1














          Yes, it will redirect to specific store view but when you click any page it will redirect to predefined page. because you set only redirect path not set store, so once go to another page it will redirect to default store.



          You need to also set store as well. once the store is set it will affect for the whole page.



          You can set the store using below way.



          Inject StoreManagerInterface in cunstruct.



          <?php
          namespace MyPluginCustomerLoginPlugin;

          class LoginPostPlugin


          /**
          * @var MagentoStoreModelStoreManagerInterface
          */
          protected $_storeManagerInterface;

          public function __construct(
          MagentoStoreModelStoreManagerInterface $storeManagerInterface
          )
          $this->_storeManagerInterface = $storeManagerInterface;



          public function afterExecute(
          MagentoCustomerControllerAccountLoginPost $subject,
          $result)

          //-- check group is retail customer or not
          $objectManager = MagentoFrameworkAppObjectManager::getInstance();
          $customerSession = $objectManager->create('MagentoCustomerModelSession');
          if ($customerSession->isLoggedIn())
          $groupId = $customerSession->getCustomerGroupId();
          if ($groupId == 2)
          $this->_storeManagerInterface->setCurrentStore(1);
          $result->setPath('?___store=Wholesale&___from_store=Wholesale');


          return $result;




          I hope it helps!






          share|improve this answer

























          • What number should I put here? $this->_storeManagerInterface->setCurrentStore(1);

            – Despotars
            May 29 at 12:22











          • store=Wholesale storeId

            – Chirag Patel
            May 29 at 12:26











          • for this: $result->setPath('?___store=Wholesale&___from_store=Wholesale'); Is it possible to do something so that this data does not appear in the URL?

            – Despotars
            May 29 at 12:32











          • Hi @chirag-patel, I used the code that you showed me, that put the ID of the store view that I want to show, but it does not work. Any ideas?

            – Despotars
            May 29 at 13:36











          • You can remove ?___store=Wholesale&___from_store=Wholesale this from system config Go to Store > config > general > web > URL option > Add Store Code to Urls set to NO

            – Chirag Patel
            May 29 at 14:04











          Your Answer








          StackExchange.ready(function()
          var channelOptions =
          tags: "".split(" "),
          id: "479"
          ;
          initTagRenderer("".split(" "), "".split(" "), channelOptions);

          StackExchange.using("externalEditor", function()
          // Have to fire editor after snippets, if snippets enabled
          if (StackExchange.settings.snippets.snippetsEnabled)
          StackExchange.using("snippets", function()
          createEditor();
          );

          else
          createEditor();

          );

          function createEditor()
          StackExchange.prepareEditor(
          heartbeatType: 'answer',
          autoActivateHeartbeat: false,
          convertImagesToLinks: false,
          noModals: true,
          showLowRepImageUploadWarning: true,
          reputationToPostImages: null,
          bindNavPrevention: true,
          postfix: "",
          imageUploader:
          brandingHtml: "Powered by u003ca class="icon-imgur-white" href="https://imgur.com/"u003eu003c/au003e",
          contentPolicyHtml: "User contributions licensed under u003ca href="https://creativecommons.org/licenses/by-sa/3.0/"u003ecc by-sa 3.0 with attribution requiredu003c/au003e u003ca href="https://stackoverflow.com/legal/content-policy"u003e(content policy)u003c/au003e",
          allowUrls: true
          ,
          onDemand: true,
          discardSelector: ".discard-answer"
          ,immediatelyShowMarkdownHelp:true
          );



          );













          draft saved

          draft discarded


















          StackExchange.ready(
          function ()
          StackExchange.openid.initPostLogin('.new-post-login', 'https%3a%2f%2fmagento.stackexchange.com%2fquestions%2f275824%2fredirected-automatically-to-a-store-view-based-on-a-user-group-b2c-b2b-m2%23new-answer', 'question_page');

          );

          Post as a guest















          Required, but never shown

























          1 Answer
          1






          active

          oldest

          votes








          1 Answer
          1






          active

          oldest

          votes









          active

          oldest

          votes






          active

          oldest

          votes









          1














          Yes, it will redirect to specific store view but when you click any page it will redirect to predefined page. because you set only redirect path not set store, so once go to another page it will redirect to default store.



          You need to also set store as well. once the store is set it will affect for the whole page.



          You can set the store using below way.



          Inject StoreManagerInterface in cunstruct.



          <?php
          namespace MyPluginCustomerLoginPlugin;

          class LoginPostPlugin


          /**
          * @var MagentoStoreModelStoreManagerInterface
          */
          protected $_storeManagerInterface;

          public function __construct(
          MagentoStoreModelStoreManagerInterface $storeManagerInterface
          )
          $this->_storeManagerInterface = $storeManagerInterface;



          public function afterExecute(
          MagentoCustomerControllerAccountLoginPost $subject,
          $result)

          //-- check group is retail customer or not
          $objectManager = MagentoFrameworkAppObjectManager::getInstance();
          $customerSession = $objectManager->create('MagentoCustomerModelSession');
          if ($customerSession->isLoggedIn())
          $groupId = $customerSession->getCustomerGroupId();
          if ($groupId == 2)
          $this->_storeManagerInterface->setCurrentStore(1);
          $result->setPath('?___store=Wholesale&___from_store=Wholesale');


          return $result;




          I hope it helps!






          share|improve this answer

























          • What number should I put here? $this->_storeManagerInterface->setCurrentStore(1);

            – Despotars
            May 29 at 12:22











          • store=Wholesale storeId

            – Chirag Patel
            May 29 at 12:26











          • for this: $result->setPath('?___store=Wholesale&___from_store=Wholesale'); Is it possible to do something so that this data does not appear in the URL?

            – Despotars
            May 29 at 12:32











          • Hi @chirag-patel, I used the code that you showed me, that put the ID of the store view that I want to show, but it does not work. Any ideas?

            – Despotars
            May 29 at 13:36











          • You can remove ?___store=Wholesale&___from_store=Wholesale this from system config Go to Store > config > general > web > URL option > Add Store Code to Urls set to NO

            – Chirag Patel
            May 29 at 14:04















          1














          Yes, it will redirect to specific store view but when you click any page it will redirect to predefined page. because you set only redirect path not set store, so once go to another page it will redirect to default store.



          You need to also set store as well. once the store is set it will affect for the whole page.



          You can set the store using below way.



          Inject StoreManagerInterface in cunstruct.



          <?php
          namespace MyPluginCustomerLoginPlugin;

          class LoginPostPlugin


          /**
          * @var MagentoStoreModelStoreManagerInterface
          */
          protected $_storeManagerInterface;

          public function __construct(
          MagentoStoreModelStoreManagerInterface $storeManagerInterface
          )
          $this->_storeManagerInterface = $storeManagerInterface;



          public function afterExecute(
          MagentoCustomerControllerAccountLoginPost $subject,
          $result)

          //-- check group is retail customer or not
          $objectManager = MagentoFrameworkAppObjectManager::getInstance();
          $customerSession = $objectManager->create('MagentoCustomerModelSession');
          if ($customerSession->isLoggedIn())
          $groupId = $customerSession->getCustomerGroupId();
          if ($groupId == 2)
          $this->_storeManagerInterface->setCurrentStore(1);
          $result->setPath('?___store=Wholesale&___from_store=Wholesale');


          return $result;




          I hope it helps!






          share|improve this answer

























          • What number should I put here? $this->_storeManagerInterface->setCurrentStore(1);

            – Despotars
            May 29 at 12:22











          • store=Wholesale storeId

            – Chirag Patel
            May 29 at 12:26











          • for this: $result->setPath('?___store=Wholesale&___from_store=Wholesale'); Is it possible to do something so that this data does not appear in the URL?

            – Despotars
            May 29 at 12:32











          • Hi @chirag-patel, I used the code that you showed me, that put the ID of the store view that I want to show, but it does not work. Any ideas?

            – Despotars
            May 29 at 13:36











          • You can remove ?___store=Wholesale&___from_store=Wholesale this from system config Go to Store > config > general > web > URL option > Add Store Code to Urls set to NO

            – Chirag Patel
            May 29 at 14:04













          1












          1








          1







          Yes, it will redirect to specific store view but when you click any page it will redirect to predefined page. because you set only redirect path not set store, so once go to another page it will redirect to default store.



          You need to also set store as well. once the store is set it will affect for the whole page.



          You can set the store using below way.



          Inject StoreManagerInterface in cunstruct.



          <?php
          namespace MyPluginCustomerLoginPlugin;

          class LoginPostPlugin


          /**
          * @var MagentoStoreModelStoreManagerInterface
          */
          protected $_storeManagerInterface;

          public function __construct(
          MagentoStoreModelStoreManagerInterface $storeManagerInterface
          )
          $this->_storeManagerInterface = $storeManagerInterface;



          public function afterExecute(
          MagentoCustomerControllerAccountLoginPost $subject,
          $result)

          //-- check group is retail customer or not
          $objectManager = MagentoFrameworkAppObjectManager::getInstance();
          $customerSession = $objectManager->create('MagentoCustomerModelSession');
          if ($customerSession->isLoggedIn())
          $groupId = $customerSession->getCustomerGroupId();
          if ($groupId == 2)
          $this->_storeManagerInterface->setCurrentStore(1);
          $result->setPath('?___store=Wholesale&___from_store=Wholesale');


          return $result;




          I hope it helps!






          share|improve this answer















          Yes, it will redirect to specific store view but when you click any page it will redirect to predefined page. because you set only redirect path not set store, so once go to another page it will redirect to default store.



          You need to also set store as well. once the store is set it will affect for the whole page.



          You can set the store using below way.



          Inject StoreManagerInterface in cunstruct.



          <?php
          namespace MyPluginCustomerLoginPlugin;

          class LoginPostPlugin


          /**
          * @var MagentoStoreModelStoreManagerInterface
          */
          protected $_storeManagerInterface;

          public function __construct(
          MagentoStoreModelStoreManagerInterface $storeManagerInterface
          )
          $this->_storeManagerInterface = $storeManagerInterface;



          public function afterExecute(
          MagentoCustomerControllerAccountLoginPost $subject,
          $result)

          //-- check group is retail customer or not
          $objectManager = MagentoFrameworkAppObjectManager::getInstance();
          $customerSession = $objectManager->create('MagentoCustomerModelSession');
          if ($customerSession->isLoggedIn())
          $groupId = $customerSession->getCustomerGroupId();
          if ($groupId == 2)
          $this->_storeManagerInterface->setCurrentStore(1);
          $result->setPath('?___store=Wholesale&___from_store=Wholesale');


          return $result;




          I hope it helps!







          share|improve this answer














          share|improve this answer



          share|improve this answer








          edited May 30 at 9:49

























          answered May 29 at 10:11









          Chirag PatelChirag Patel

          3,160627




          3,160627












          • What number should I put here? $this->_storeManagerInterface->setCurrentStore(1);

            – Despotars
            May 29 at 12:22











          • store=Wholesale storeId

            – Chirag Patel
            May 29 at 12:26











          • for this: $result->setPath('?___store=Wholesale&___from_store=Wholesale'); Is it possible to do something so that this data does not appear in the URL?

            – Despotars
            May 29 at 12:32











          • Hi @chirag-patel, I used the code that you showed me, that put the ID of the store view that I want to show, but it does not work. Any ideas?

            – Despotars
            May 29 at 13:36











          • You can remove ?___store=Wholesale&___from_store=Wholesale this from system config Go to Store > config > general > web > URL option > Add Store Code to Urls set to NO

            – Chirag Patel
            May 29 at 14:04

















          • What number should I put here? $this->_storeManagerInterface->setCurrentStore(1);

            – Despotars
            May 29 at 12:22











          • store=Wholesale storeId

            – Chirag Patel
            May 29 at 12:26











          • for this: $result->setPath('?___store=Wholesale&___from_store=Wholesale'); Is it possible to do something so that this data does not appear in the URL?

            – Despotars
            May 29 at 12:32











          • Hi @chirag-patel, I used the code that you showed me, that put the ID of the store view that I want to show, but it does not work. Any ideas?

            – Despotars
            May 29 at 13:36











          • You can remove ?___store=Wholesale&___from_store=Wholesale this from system config Go to Store > config > general > web > URL option > Add Store Code to Urls set to NO

            – Chirag Patel
            May 29 at 14:04
















          What number should I put here? $this->_storeManagerInterface->setCurrentStore(1);

          – Despotars
          May 29 at 12:22





          What number should I put here? $this->_storeManagerInterface->setCurrentStore(1);

          – Despotars
          May 29 at 12:22













          store=Wholesale storeId

          – Chirag Patel
          May 29 at 12:26





          store=Wholesale storeId

          – Chirag Patel
          May 29 at 12:26













          for this: $result->setPath('?___store=Wholesale&___from_store=Wholesale'); Is it possible to do something so that this data does not appear in the URL?

          – Despotars
          May 29 at 12:32





          for this: $result->setPath('?___store=Wholesale&___from_store=Wholesale'); Is it possible to do something so that this data does not appear in the URL?

          – Despotars
          May 29 at 12:32













          Hi @chirag-patel, I used the code that you showed me, that put the ID of the store view that I want to show, but it does not work. Any ideas?

          – Despotars
          May 29 at 13:36





          Hi @chirag-patel, I used the code that you showed me, that put the ID of the store view that I want to show, but it does not work. Any ideas?

          – Despotars
          May 29 at 13:36













          You can remove ?___store=Wholesale&___from_store=Wholesale this from system config Go to Store > config > general > web > URL option > Add Store Code to Urls set to NO

          – Chirag Patel
          May 29 at 14:04





          You can remove ?___store=Wholesale&___from_store=Wholesale this from system config Go to Store > config > general > web > URL option > Add Store Code to Urls set to NO

          – Chirag Patel
          May 29 at 14:04

















          draft saved

          draft discarded
















































          Thanks for contributing an answer to Magento Stack Exchange!


          • Please be sure to answer the question. Provide details and share your research!

          But avoid


          • Asking for help, clarification, or responding to other answers.

          • Making statements based on opinion; back them up with references or personal experience.

          To learn more, see our tips on writing great answers.




          draft saved


          draft discarded














          StackExchange.ready(
          function ()
          StackExchange.openid.initPostLogin('.new-post-login', 'https%3a%2f%2fmagento.stackexchange.com%2fquestions%2f275824%2fredirected-automatically-to-a-store-view-based-on-a-user-group-b2c-b2b-m2%23new-answer', 'question_page');

          );

          Post as a guest















          Required, but never shown





















































          Required, but never shown














          Required, but never shown












          Required, but never shown







          Required, but never shown

































          Required, but never shown














          Required, but never shown












          Required, but never shown







          Required, but never shown







          Popular posts from this blog

          Grendel Contents Story Scholarship Depictions Notes References Navigation menu10.1093/notesj/gjn112Berserkeree

          Area configuration aggregation error after install Porto themeMagento 2.1 CE Installed but front/backend not loading/workingCSS not loading on page within Magento 2 pageCannot install module in Magento 2no commands defined in the “setup” namespace. in Magento2Magento 2: Static files are present but shows 404Why do i have to always run the commands to clean cache in Magento 2.1.8?Failure reason: 'Unable to unserialize value.'Error 500 after magento migrationIn production mode the site does not loadMagento 2 : Error 500 after installing

          Middle Expansion Olielle Resaix Definition: Uttering songs of triumph shouting with joy triumphant exulting Sejunction Journal 붙다 달 고급 품목 외출 The stretch trades the screeching tin. Definition: The act of speaking with a drawl a drawl Cough Sand Definition: An uproar a quarrel a noisy outbreak Shake Iron Publicize Horse House Baby 사과 Resaix Flaggy Jelly Temporary Unequaled Puppet A drop in the bucket Shrew 성격 회원 성질 미팅 The burn frames the tacky quality. Materialistic The smoke reduces the way. Yammoe Nondescript Cheek 얼굴 배 약하다 날리다 타다 The illegal country shows the iron. Help Rule Drearien Smoke Teaching Meaty Wasp Abraham Lincoln Jaws 진심 수리하다 Size Cork Idea Convert Think Lark John Lennon 거울 청소 군 추천하다 아이스크림