I am trying to switch stores from within the Magento Core but am having difficulties!
I have 7 stores which each have different root category ID’s. I have modified the search so that the user can select a store and then the search results are filtered by the selected stores root category. This effectively has given me the ability to search each store individually which is a new requirment our project has. I have everything working except I cannot switch the store manually!
I thought it could be done by calling Mage::app(’store_id’) where ‘store_id’ is the store code you want to switch too but it doesn’t seem to work. You may be wondering why we are doing this like this and the simple answer is that we utilize stores as seperate stores with differing categorys and products instead of seperate languages. Check out justkampers.com to see what I mean.