2

I've installed Magento Fishpig module for Wordpress integration.

I have two stores and a common blog. The only problem is that every time I accessed the blog page, the first store's layout is displayed. Any (simple) idea about how can I make it to remember the store from where the blog page is being accessed?

2
  • What happens when you pass the store code for the second store in the URL? e.g.: www.mysite.com/blog/?___store=secondstore << take note, that's 3 underscore characters.
    – philwinkle
    Commented Mar 21, 2013 at 16:13
  • That's the solution. I thought there are other ways of doing this.
    – Pascut
    Commented Mar 21, 2013 at 17:56

1 Answer 1

0

Access the blog via the following url string:

www.mysite.com/blog/?___store=secondstore

Take note, that's 3 underscores. This could potentially be coded into the index.php in the /blog/ with something like:

$_GET['___store'] = Mage::app()->getStore()->getId();

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service and acknowledge you have read our privacy policy.

Not the answer you're looking for? Browse other questions tagged or ask your own question.