Mage Enabler is now available for download in the Official WordPress Plugin repository!

In: Techie Daw

12 May 2010
Advertisement

Advertisement

I’m soooo happy to see my very first plugin to be released for everyone to use. I hope it will help a lot of Magento and WordPress users!

Click! click! click!

About the author

Richard Feraro is a PHP Developer living in Manila, Philippines. He has been programming for nine (9) years and working on different open source application mostly done in PHP and MySQL.

8 Responses to Mage Enabler is now available for download in the Official WordPress Plugin repository!

Avatar

Ryan UNITED KINGDOM

May 26th, 2010 at 5:26 pm

Hi Richard,

Tried using your plugin, however some strange behaviour followed.

I have wordpress set up as the main part of my site ( in the root directory ) and magento in a sub folder powering just the ecommerce side. I wanted to use this plugin to pull the products of one category onto the homepage of my wordpress site.

Installing the plugin gave me a white screen, setting the errors to show all in php.ini also provided a white screen which was rather odd. However the plugin worked perfectly once I’d visited my store first website.com/shop then went back to the homepage. Which implies to me that it seems to have trouble creating a new session. I made sure that:


'frontend'));
}
?>

Was placed at the top of the php template file before the header also, to the same results. Any chance you could share your thoughts on how we could fix this?

Avatar

Richard Feraro UNITED STATES

May 26th, 2010 at 5:59 pm

Hello Ryan,

Is it possible to see the file and how you implemented it? Your code in the post is incomplete or has been truncated. What is your Magento and WordPress version?

Avatar

Ryan UNITED KINGDOM

May 27th, 2010 at 4:08 pm

Hi Richard, sorry wasn’t anticipating such a swift reply :)

The code that was cut off there was


if(class_exists('Mage')){
Mage::getSingleton('core/session', array('name' => 'frontend'));
}

The path to mage.php is correct and declared so in the admin, so its rather odd. I’m not too familiar with Magento’s methods, I assume thats trying to create a session?

I tried getting errors to display in my php.ini file and it still returned a blank screen, which is rather unhelpful for the both of us I’d imagine :(

Avatar

Richard Feraro UNITED STATES

May 27th, 2010 at 5:37 pm

Add at the top of your script the code below:

error_reporting(E_ALL);

Is it possible to see the file where the error occurs?

Avatar

Scott UNITED STATES

November 9th, 2010 at 7:42 am

Have you installed mage enabler on wordpress with the builder theme? I seem to be having issues. I have got the mage.php as accessible in wordpress, but I can’t seem to add any magento blocks or products.

Avatar

Richard Feraro PHILIPPINES

November 9th, 2010 at 12:06 pm

Not yet, but it should work with any template. What have you done so far?

Avatar

John LeBlanc UNITED STATES

September 21st, 2011 at 8:39 am

Hi Richard!

I just posted a fix to an issue I ran into updating Magento products and attribute sets with Mage Enabler active:

http://wordpress.org/support/topic/plugin-mage-enabler-workaround-for-inability-to-edit-magento-products-and-attribute-sets

Aloha!
John

Avatar

Richard Feraro PHILIPPINES

September 21st, 2011 at 9:50 am

Thanks John! Will add it in the FAQ for others to see as well.

Comment Form

About my blog

This is a programmer's blog. Whenever I encounter a difficult coding task, I make sure that I'll be able to share it here in the hope that others may find it useful. It's my way of giving back to the open source community who have been a great help to me as well.

Share This Post

or bookmark to your mobile

Bookmark: http://mysillypointofview.richardferaro.com/2010/05/12/mage-enabler-is-now-available-for-download/

Advertisement

WordPress + Magento

Proudly Pinoy!

Proudly Pinoy!

Recent Trackbacks

Archives

Disclaimer

All entries in this blog are my opinion and don't necessarily reflect the opinion of my employer or my mom.

Viewers by Country

in India 3274 (21 %) 3781 (19 %)
us United States 2739 (17 %) 3560 (18 %)
gb United Kingdom 926 (6 %) 1176 (6 %)
de Germany 767 (5 %) 989 (5 %)
nl Netherlands 586 (4 %) 743 (4 %)
fr France 483 (3 %) 606 (3 %)
ph Philippines 468 (3 %) 763 (4 %)
br Brazil 443 (3 %) 547 (3 %)
au Australia 334 (2 %) 402 (2 %)
ca Canada 330 (2 %) 408 (2 %)
es Spain 323 (2 %) 429 (2 %)
it Italy 318 (2 %) 400 (2 %)
vn Vietnam 285 (2 %) 357 (2 %)
pk Pakistan 278 (2 %) 307 (2 %)
ro Romania 261 (2 %) 319 (2 %)
cn China 246 (2 %) 351 (2 %)
ua Ukraine 240 (2 %) 297 (2 %)
pl Poland 138 (1 %) 167 (1 %)
ru Russia 134 (1 %) 171 (1 %)
id Indonesia 132 (1 %) 159 (1 %)
Total Countries: 139
Total Visits: 15686
Total Pageviews: 19735