Same store information returning in multi-store in observer Magento

91 views Asked by At

I have a multi-store website, I am developing a module in which I need to get locale or store id in observer when I edit product from wishlist and add to cart. But it returns the same locale and store id from both stores. I am using the below in my observer.

 Mage::app()->getStore()->getCode();
 Mage::app()->getLocale()->getLocaleCode();

Can you please suggest me what can be the issue?

0

There are 0 answers