Because Magento is a new platform for e-commerce, since 2008, there aren’t too many tutorials out there. That’s why I decided to put a simple one on my blog. It’s just a little something that I did on the first Magento project I’ve made.
So, let’s say you want to monetize your store, allthough it’s not a really smart move: you might advertize your competition on your site, but for the sake of tutorial, let’s pretend you want to add an adsense unit on your Magento site.
I’m not going to explain how to set the adsense unit.
So…
Step 1
In the Magento Admin Panel, go to CMS -> Static Blocks and click on Add New Block
Step 2
At the Block title you can put Adsense.
Identifier: adsense.
Store view: Select in which store you wish to put the block.
Set the Status to enabled.
Then, at the Content you insert the code from the Adsense unit you created.
Save block.
Now the static block named Adsense, with the identifier adsense is
created. It’s time to actually put it on the site.
Step 3
Now you have to edit catalog.xml, and for this you go to the location where Magento is installed.
Go to appdesignfrontendmy_packagemy_themelayoutcatalog.xml
Here you have to insert the following code:
And that’s all. Now you have monetized your store. Congratulations!
You can do this for any other thing you want to put on the Magento store, like an Yahoo!Messenger badge, or any other HTML code.
I hope it helps.






















