1 Comment

Separate store view which reverts back to the default store view

Order Notification email is not going through from magento using build-in functionality and even from SMTP Pro
How can i export multiple table values as a single file

I am setting up a store view for my mobile app which I am going to strip away the header and footer along with some other customisation.

After creating a store view and then going to it I have noticed that going to the main URL: www.example.com will not go back to the default store view.

This will cause a problem with people using the app then going to the website using there mobile browser.

How can I make the main domain the default store view?

Related Posts

  • Separate store view which reverts back to the default store view (1)
    I am setting up a store view for my mobile app which I am going to strip away the header and footer along with some other customisation. After creating a store view and then going to it I have noticed that going to the main URL: www.example.com will not go back to the default store […]
  • Separate store view which reverts back to the default store view (1)
    I am setting up a store view for my mobile app which I am going to strip away the header and footer along with some other customisation. After creating a store view and then going to it I have noticed that going to the main URL: www.example.com will not go back to the default store […]
  • Separate store view which reverts back to the default store view (1)
    I am setting up a store view for my mobile app which I am going to strip away the header and footer along with some other customisation. After creating a store view and then going to it I have noticed that going to the main URL: www.example.com will not go back to the default store […]
  • Issues with Magento 2.1 Multi Domain Setup (1 website, multiple store views) (0)
    I have a new Magento 2.1 CE setup. I want to offer localised versions (currency) of our website. US would only allow us dollar currency, UK would only allow british pounds currency etc. So have set up: [Website] [Store] [Store View] Main Website Main Store […]
  • Store view with messed up CSS (1)
    I have set up a German view in addition to the current default view and the css is messed up when I change the language. It looks like it goes into mobile mode. The website is http://m.theseolounge.co.uk/ Do I need to change the Base Skin URL and Base Media URL? At present I am using […]
  • Store view with messed up CSS (1)
    I have set up a German view in addition to the current default view and the css is messed up when I change the language. It looks like it goes into mobile mode. The website is http://m.theseolounge.co.uk/ Do I need to change the Base Skin URL and Base Media URL? At present I am using […]
  • Magento2: Multiple stores (groups) under single website (1)
    I want to have a single website with a single domain/URL. Under that website I want to have two stores, each of which will have one single store view. One store is intended for regular browser clients, and the other store is for clients which use a specific mobile app which has its […]
  • 404 error after changing default store in manage stores (0)
    I have a Magento install with multiply stores In error in Manage stores I have set the Main Website Store to another store I now have a 404 error: Page not found. When I attempt to log back in to the back end of any of the stores How can i undo changing the Main website to […]
  • 404 error after changing default store in manage stores (0)
    I have a Magento install with multiply stores In error in Manage stores I have set the Main Website Store to another store I now have a 404 error: Page not found. When I attempt to log back in to the back end of any of the stores How can i undo changing the Main website to […]
  • Store view redirecting instead of loading (0)
    I run a Magento 2.1.1 store with two websites, each with one store, one store having one view and the other having two views. They're using two different domains. I started having issues yesterday where accessing the second domain just 302 redirects to the first domain, even though […]
Order Notification email is not going through from magento using build-in functionality and even from SMTP Pro
How can i export multiple table values as a single file

1 Comment on this article

  • User October 13, 2016

    This is a bit tricky, and Magento doesn’t provide much to help with things like this. The way I see it, you have a couple options:

    • I’m not sure what you mean when you refer to your “mobile app”, but I’m assuming that it is a Cordova-like app that embeds your web page into the app. In that case, depending on the tools that your app framework provides for controlling the request made to the server, you may be able to pass in a special user agent header, that you could then filter as an exception in System->configuration->design.

    • Your other option is to pass some kind of request parameter into the url, and then check it in the controller_action_predispatch event, or any other event fired before the request is handed off to the controller action method. You can set a flag with the registry, or something else, that you would then refer to later to determine which theme/layout/content to load.

    Reply

Add a comment