Same situation here for me…
Hello,
Please let me know what the error says and I’ll see what i can do to help.
Thanks,
James.
Hello
When I look the error at the apache log it says:
PHP Fatal error: Using $this when not in object context in /var/www/store/wp-content/plugins/magento-wordpress-integration/mwi.php on line 35, referer: http://store.com/CA/page1/
Thanks
Thanks for the update, I’ll look into a fix for this
I have the same problem, could you give us an example of how we have to configure the multistore views. In the admin, to configure the different store views you are asking for two things for each one:
Store View URL (full path)
Store View Code.
Can we set the same value in all store view url? for example, if I have 2 stores one french with code fr and one in english with code en would it be ok to set
French: store view url: http://www.myShop.com
view code: fr
English: store view url: http://www.myShop.com
view code: en
If this configuration is correct how do I define the language in wordpress, do I need to use one module so I can define the language through the url or I need to use another thing.
Please, could you help me
Hi all,
I’ve just updated the plugin to version 2.1.0 – hopefully this should resolve the error message posted earlier.
Thanks,
James
Thanks for your help, but with the actualization the error is still appearing. To solve it I’ve modified mwi.php and changed all $this for self::, then the error don’t appear.
But I still have one problem, there is anywhere with an example of how to configure the multistores, in the admin you are asking for path and code, what do we have to put in each place?
Another thing is that if we define that the default store is es, but we are in side magento navigating using en, when I enter to a wordpress page I see printed magento modules (for example header) as if I where in es, it seems that somewhere is changing magento locale value.
Could you give me a hand.
Thanks!
Hi ntorras,
Thanks for that, I’ve updated $this to self:: and will release later on today.
I am also removing the confusing storeview setup, as I’ve figured out a way to make it work automatically!
Thanks for your patience,
James.
OK guys,
I’ve had a bit of an overhaul. Store views are now detected automatically. The multi store view setup has now been removed.
You can now simply enter your Website Code, and store views will all work when you switch in Magento. I’ve also updated the addons to use magento translations, show/hide out of stock products, default css styles and a few more things!
I’m planning to integrate properly with WPML, if some of you are using more than one Website in Magento, please hold on for this functionality, as I’d like it to be a simple and seamless as possible.
Hopefully this solves most issues that you guys may have been having.
Thanks,
James
Has anyone tested that this now works as expected?