Magento Themes and Magento Extensions

Add Adwords tracking code to order confirmation page in Magento

Share
Posted on May 12th, 2011 | Posted by admin

Adding an Adwords tracking code to order confirmation page in Magento is relatively easy task. One that can be handled under an hour or so if you choose to implement it the proper way. Here is how.

Modify the “app/design/frontend/default/my_custom_theme/layout/checkout.xml” file. Look for section

How to use WordPress home page in Magento home page (CMS page)

Share
Posted on May 11th, 2011 | Posted by admin

How to use WordPress home page in Magento home page (CMS page)

Simple : ) -Ok, lets get down to business. This one is really, really simple, but powerful. In all it greatness Magento lacks the good content management solution (CMS features). Lot of people are heading down the road of integrating the WordPress and Magento. Probably everyone in web development has heard about WordPress. Personaly I like them, from Joomla, Drupal, WordPress… But there is that little something that makes WordPress far more loving in the eyes of the client. Not to start a flame here, lets get back to the topic. Due to the lack of the proper content management in Magento those who use WordPress can easily manage the (home page in this case) content trough WordPress and make it accessible in Magento CMS page (that you can set to home page in Magento).

Adding a new tab under one page checkout – full working module

Share
Posted on May 10th, 2011 | Posted by admin

Adding a new tab under one page checkout – full working module

Adding a new tab under onepage checkout in Magento might seem as incredibly easy task. right?! Well, it’s not. If you want to do it properly, you gonna have to do some work. Took me few hours to get this one running. Attached are screenshots for you to see final result.

Magento product view page analysis (available in PDF)

Share
Posted on May 6th, 2011 | Posted by admin

One of the most edited file in Magento is the template file View.phtml file. Reason for this is that a lot of clients would like to rearrange it differently on their online stores. Here is the analysis of that file and the list of all the methods it uses.

Magento product view page analysis (ready for print PDF)

Document above reflects Magento 1.1.6. methods and classes.

One thing to keep in mind, this document shows you the View.phtml block file and shows you it’s inherited methods. All of the Magento block files have the similar inheritance principle. Therefore to find out the available methods all you need to do is open up the extended (inherited) classes.

If you are using some smart IDE solution like NetBeans 6.5 with PHP code completion support, you can simply do the Mage_Catalog_Block_Product_View-> and press the Ctrl + Space to get the dropdown list of all the available methods. If that’s not the case, then you will how to do the things the manual way.

Hope some of you would find this useful.

Tips For Creating Dynamic Category Landing Pages

Share
Posted on May 4th, 2011 | Posted by admin

This is quite a common want, so I thought I would put together a quick tutorial with some ideas and pointers. My main goal will be to give you a starting point for building a static block and PHTML file that can be applied to top level categories to dynamically create a block with of all the subcategories.

The first thing to do is create a new static block (CMS → Static Blocks), lets call it ‘Dynamic Landing Pages’. Within the content paste this:

Page 2 of 3«123»