How to change store views with its root category in magento 2 from frontendMagento 2 - Multiple stores with different root categoryMagento 2 - Create product programmatically with different store view valuesInclude in Menu for all store views in Magento 2Different category URLs for store views, redirect to proper oneMagento Multi Store with multiple domainsIs it possible to search another storeview product name if current language store view is no result?magento 2 multiple store views with sub domain urlStrange behavior with the redirects in Store views, Cms pages, CookiesGet current category or current product and then get its url in the other store store viewMagento 2.3.0 - Set up multiple websites, stores, and store views

Is there a legal way for US presidents to extend their terms beyond four years?

How to answer "write something on the board"?

Is it bad to describe a character long after their introduction?

Prime parity peregrination

For decoupling an IC's power supply pins, is there any reason to use multiple capacitances when all the MLCCs have the same package size?

Movie in a trailer park named Paradise and a boy playing a video game then being recruited by aliens to fight in space

Who are these Discworld wizards from this picture?

Is there a canon reason why Klingon and Romulan vessels are so similar in shape?

How hard is it to sell a home which is currently mortgaged?

Should I report a leak of confidential HR information?

How to organize members in a struct to waste least space on alignment?

What's the easiest way for a whole party to be able to communicate with a creature that doesn't know Common?

How did installing this RPM create a file?

Why was Mal so quick to drop Bester in favour of Kaylee?

SQLServer add a default value for a column

Balanced parentheses using STL C++

Are gliders susceptible to bird strikes?

How can a valley surrounded by mountains be fertile and rainy?

Is it okay to fade a human face just to create some space to place important content over it?

Who voices the character "Finger" in The Fifth Element?

What's the safest way to inform a new user of their password on an invite-only website?

What are good ways to spray paint a QR code on a footpath?

Single level file directory

Security Patch SUPEE-11155 - Possible issues?



How to change store views with its root category in magento 2 from frontend


Magento 2 - Multiple stores with different root categoryMagento 2 - Create product programmatically with different store view valuesInclude in Menu for all store views in Magento 2Different category URLs for store views, redirect to proper oneMagento Multi Store with multiple domainsIs it possible to search another storeview product name if current language store view is no result?magento 2 multiple store views with sub domain urlStrange behavior with the redirects in Store views, Cms pages, CookiesGet current category or current product and then get its url in the other store store viewMagento 2.3.0 - Set up multiple websites, stores, and store views






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








1















i am new to magento as well SO, I am trying to setup an magento website with two different store, 1 store have clothes related category and other one shoes related and I want to switch store view with its root categories.



so if someone switch to store 1 (cloths) he should only see clothes category and if switch to store 2 (shoes) then should display only shoes categories.



I have setup an website with two store and created separate categories for them and did necessary set up following with this link https://www.mageplaza.com/kb/how-to-setup-multiple-stores-magento-2.html



but I don't know how to switch store from front-end.



enter image description here



Create some different Root category for website and view.



enter image description here



Unable to display 2nd view product on home page...!!



Please Help










share|improve this question









New contributor



Mahendar Singh is a new contributor to this site. Take care in asking for clarification, commenting, and answering.
Check out our Code of Conduct.



















  • did you enable the newly crated store view?

    – abdus
    Jun 19 at 12:58











  • yes my all view are Enable.

    – Mahendar Singh
    Jun 19 at 13:20











  • can you please share the screenshot of the store view you have created

    – abdus
    Jun 20 at 5:37

















1















i am new to magento as well SO, I am trying to setup an magento website with two different store, 1 store have clothes related category and other one shoes related and I want to switch store view with its root categories.



so if someone switch to store 1 (cloths) he should only see clothes category and if switch to store 2 (shoes) then should display only shoes categories.



I have setup an website with two store and created separate categories for them and did necessary set up following with this link https://www.mageplaza.com/kb/how-to-setup-multiple-stores-magento-2.html



but I don't know how to switch store from front-end.



enter image description here



Create some different Root category for website and view.



enter image description here



Unable to display 2nd view product on home page...!!



Please Help










share|improve this question









New contributor



Mahendar Singh is a new contributor to this site. Take care in asking for clarification, commenting, and answering.
Check out our Code of Conduct.



















  • did you enable the newly crated store view?

    – abdus
    Jun 19 at 12:58











  • yes my all view are Enable.

    – Mahendar Singh
    Jun 19 at 13:20











  • can you please share the screenshot of the store view you have created

    – abdus
    Jun 20 at 5:37













1












1








1








i am new to magento as well SO, I am trying to setup an magento website with two different store, 1 store have clothes related category and other one shoes related and I want to switch store view with its root categories.



so if someone switch to store 1 (cloths) he should only see clothes category and if switch to store 2 (shoes) then should display only shoes categories.



I have setup an website with two store and created separate categories for them and did necessary set up following with this link https://www.mageplaza.com/kb/how-to-setup-multiple-stores-magento-2.html



but I don't know how to switch store from front-end.



enter image description here



Create some different Root category for website and view.



enter image description here



Unable to display 2nd view product on home page...!!



Please Help










share|improve this question









New contributor



Mahendar Singh is a new contributor to this site. Take care in asking for clarification, commenting, and answering.
Check out our Code of Conduct.











i am new to magento as well SO, I am trying to setup an magento website with two different store, 1 store have clothes related category and other one shoes related and I want to switch store view with its root categories.



so if someone switch to store 1 (cloths) he should only see clothes category and if switch to store 2 (shoes) then should display only shoes categories.



I have setup an website with two store and created separate categories for them and did necessary set up following with this link https://www.mageplaza.com/kb/how-to-setup-multiple-stores-magento-2.html



but I don't know how to switch store from front-end.



enter image description here



Create some different Root category for website and view.



enter image description here



Unable to display 2nd view product on home page...!!



Please Help







magento2






share|improve this question









New contributor



Mahendar Singh is a new contributor to this site. Take care in asking for clarification, commenting, and answering.
Check out our Code of Conduct.










share|improve this question









New contributor



Mahendar Singh is a new contributor to this site. Take care in asking for clarification, commenting, and answering.
Check out our Code of Conduct.








share|improve this question




share|improve this question








edited Jun 19 at 13:55









AZinkey

1033 bronze badges




1033 bronze badges






New contributor



Mahendar Singh is a new contributor to this site. Take care in asking for clarification, commenting, and answering.
Check out our Code of Conduct.








asked Jun 19 at 12:04









Mahendar SinghMahendar Singh

63 bronze badges




63 bronze badges




New contributor



Mahendar Singh is a new contributor to this site. Take care in asking for clarification, commenting, and answering.
Check out our Code of Conduct.




New contributor




Mahendar Singh is a new contributor to this site. Take care in asking for clarification, commenting, and answering.
Check out our Code of Conduct.














  • did you enable the newly crated store view?

    – abdus
    Jun 19 at 12:58











  • yes my all view are Enable.

    – Mahendar Singh
    Jun 19 at 13:20











  • can you please share the screenshot of the store view you have created

    – abdus
    Jun 20 at 5:37

















  • did you enable the newly crated store view?

    – abdus
    Jun 19 at 12:58











  • yes my all view are Enable.

    – Mahendar Singh
    Jun 19 at 13:20











  • can you please share the screenshot of the store view you have created

    – abdus
    Jun 20 at 5:37
















did you enable the newly crated store view?

– abdus
Jun 19 at 12:58





did you enable the newly crated store view?

– abdus
Jun 19 at 12:58













yes my all view are Enable.

– Mahendar Singh
Jun 19 at 13:20





yes my all view are Enable.

– Mahendar Singh
Jun 19 at 13:20













can you please share the screenshot of the store view you have created

– abdus
Jun 20 at 5:37





can you please share the screenshot of the store view you have created

– abdus
Jun 20 at 5:37










0






active

oldest

votes














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
);



);






Mahendar Singh is a new contributor. Be nice, and check out our Code of Conduct.









draft saved

draft discarded


















StackExchange.ready(
function ()
StackExchange.openid.initPostLogin('.new-post-login', 'https%3a%2f%2fmagento.stackexchange.com%2fquestions%2f278871%2fhow-to-change-store-views-with-its-root-category-in-magento-2-from-frontend%23new-answer', 'question_page');

);

Post as a guest















Required, but never shown

























0






active

oldest

votes








0






active

oldest

votes









active

oldest

votes






active

oldest

votes








Mahendar Singh is a new contributor. Be nice, and check out our Code of Conduct.









draft saved

draft discarded


















Mahendar Singh is a new contributor. Be nice, and check out our Code of Conduct.












Mahendar Singh is a new contributor. Be nice, and check out our Code of Conduct.











Mahendar Singh is a new contributor. Be nice, and check out our Code of Conduct.














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%2f278871%2fhow-to-change-store-views-with-its-root-category-in-magento-2-from-frontend%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

Get product attribute by attribute group code in magento 2get product attribute by product attribute group in magento 2Magento 2 Log Bundle Product Data in List Page?How to get all product attribute of a attribute group of Default attribute set?Magento 2.1 Create a filter in the product grid by new attributeMagento 2 : Get Product Attribute values By GroupMagento 2 How to get all existing values for one attributeMagento 2 get custom attribute of a single product inside a pluginMagento 2.3 How to get all the Multi Source Inventory (MSI) locations collection in custom module?Magento2: how to develop rest API to get new productsGet product attribute by attribute group code ( [attribute_group_code] ) in magento 2

Category:9 (number) SubcategoriesMedia in category "9 (number)"Navigation menuUpload mediaGND ID: 4485639-8Library of Congress authority ID: sh85091979ReasonatorScholiaStatistics

Magento 2.3: How do i solve this, Not registered handle, on custom form?How can i rewrite TierPrice Block in Magento2magento 2 captcha not rendering if I override layout xmlmain.CRITICAL: Plugin class doesn't existMagento 2 : Problem while adding custom button order view page?Magento 2.2.5: Overriding Admin Controller sales/orderMagento 2.2.5: Add, Update and Delete existing products Custom OptionsMagento 2.3 : File Upload issue in UI Component FormMagento2 Not registered handleHow to configured Form Builder Js in my custom magento 2.3.0 module?Magento 2.3. How to create image upload field in an admin form