I was so nervous that night that I decided not to cite this long acceptance speech so I posted it here instead. Here it goes:
Read the rest of this entry »

The event will be held on 12th of December 2010 at Carlos P. Romulo Auditorium, RCBC Plaza. Hopefully, I’ll be able to win the award but nevertheless, the ultimate goal is to be with the best Filipino bloggers in the country.

If you’re thinking of creating a page that will display your customer list from Magento to a different PHP-based application, you can use the script below to do so.

First, let’s create a file called index.php and inside it, create function (I named it getCustomers()) that will extract an array of customer list and their information. The function should be able to access the Mage.php file of your Magento instance.

Read the rest of this entry »

You might have a Magento based website running online and wanted to extend parts of it (also known as blocks, which may include some css and js in the code) to an external site which may either be a blog, another CMS or any other PHP based web application. If you have been following my previous posts, you will know that by adding the Mage.php file of your Magento instance to your application, you can actually pull the needed HTML blocks at any time. The only problem is that most of the examples available online asks you to use the getChildHtml(‘your-block-here’) in which most the time frustrates you because of its complexity and limited resources of how you can actually use it. You may not know that most of the secured casino websites like Daisy slots used Magento blocks.

There are other ways of doing it. Oddly enough, some are pretty simple and straight forward.
Read the rest of this entry »

This is a follow up post to a previous article I wrote on how to add products into Magento but this time the script includes custom options (attributes) of the product. I used Magento version in this example. Just copy the whole script and save it as index.php.

Read the rest of this entry »

You want to extend WordPress’ functionality and decided to download some plugins found in the Official WordPress Plugin repository. After searching the repo, you’ve found two plugins that accomplishes the tasks you needed to implement in your blog. Downloading the plugins gives you two ZIP files that when double-clicked, shows you the contents in the following format:


---- plugin-a-main-file.php
---- plugin-a-readme.txt


---- plugin-b-subfolder
-------- plugin-b-main-file.php
-------- plugin-b-readme.txt

Read the rest of this entry »

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!

Mage Enabler

Update (May 12, 2010): Mage Enabler is now available in the Official WordPress Plugin repository. Get it here!

It’s been a while since I posted my tweak that allows Mage object to be utilized within any WordPress installation. The tweak requires the blog owner to modify functions.php as stated in my post. I’m inspired by the feedback of the readers who used the tweak so I decided that a plugin that does the same thing should be made to prevent modifying the WordPress core files thus preventing the tweak to cause inconsistencies when an upgrade is necessary.

Read the rest of this entry »

I’m sooo excited about this! For those who don’t know what WordCamp is, here is an excerpt from their site:

WordCamp is a conference that focuses on everything WordPress.

WordCamps are informal, community-organized events that are put together by WordPress users like you. Everyone from casual users to core developers participate, share ideas, and get to know each other. WordCamps are open to WordPress.com and WordPress.org users alike.

It is scheduled on October 2 this year and they haven’t publish any details yet, but what the heck! I’m still going! So fellow WordPress bloggers, hop on to our mothership!

Update (May 11, 2010): I created a WordPress plugin for this one. Check it out here.

You have a free WordPress blog that has been online for sometime. You love its simple yet powerful way of managing your content so you’ve decided to have it hosted to a different provider in order to have a more granular control to its code and functionality. Eventually, you needed cash to support the hosting expenses so you decided to utilize your blog for e-commerce use. That’s when Magento comes in to the scene. You want to find a way to use Magento as your backend while pulling your catalog and customer information to be posted to WordPress site. This is what my article is for.

Read the rest of this entry »

This post is an update for my blog entry on how to extend the Magento session to an external site but instead of using the version, I used the the latest stable version as of this writing which is version The script below also implements the login() and logout() method the Magento way as well as extracting the customer data (firstname and lastname) using getCustomer() method.

Read the rest of this entry »

About my blog

This blog is targeted towards all levels of developers and also designers. Various topics are discussed such as Magento, PHP & MySQL, jQuery, WordPress, CSS and HTML.


Subscribe to Blog via Email

Enter your email address to subscribe to this blog and receive notifications of new posts by email.

Join 5,249 other subscribers

WordPress + Magento

Recent Trackbacks



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