I have two stores City 1 and City 2 under a same website instance of Magento. I have created two separate categories as city1 and city2. Both these categories have individual sub category "phones" and each sub category has products which are distinctly unique to that category (meaning product assigned to city 1 will not be assigned anywhere in city 2 and vice a versa). Lets say I am in City 1 and viewed details of one of the product (lets say product A). In my recently viewed products I can see Product A is appearing. I change my city to city 2. Still I continue to see Product A. When I click on the product, I get 404 Not found.
I am ok if the product is shows up when I click on the product in recently viewed. To enable this feature, I changed the visibility of store view of city1 as catalog,search and changed the visibility of product A in store view city2 as catalog. This solves the problem of viewing the product from recently viewed.
The next problem is when I click on the product A from City 2, The breadcrumbs shows home/City1/Phones/phonename. If i click on City1 or Phones from that breadcrumbs, i again get 404 not found. Here I am completely lost as to what should be the solution.
I am using Magento 1.9