get website id by passing static store id in magento note : website id and store id might be different.
Monthly Archives: July 2011
Modify timezone for magento installation Note : Just for demo purpose, use it only if you need it, you can also override file by making copy of file in ‘local’ folder. Open file : /app/Mage.php
Modify timezone for magento installation

This is called competition
this is called competition
thanks to : http://www.jonasjohn.de/snippets/php/load-and-save-a-array-dump.htm
Load and save a array dump
this is ‘pragnesh.xml’
create xml to array by php
Dealing with function redefinitions php include_once and require_once are very useful if you have a library of common functions. If you try to override with – that is define – an identically named local function however, PHP will halt noting that it cannot redeclare functions. You can allow for this […]
Dealing with function redefinitions php
Update Magento product / inventory from external source. Thanks to : http://magento4u.wordpress.com/category/magento-products/
Update Magento product / inventory from external source.
Magento has the ability to globally manage inventory levels for your online store. A number of client’s business model was to sell inventory that they picked up from a distributor and therefore didn’t need to manage all items. They did have situations where they purchased items by the case and […]
Magento Show Available Quantities on front end
thanks to : http://www.g31zone.com/?p=240
javascript – limit the number of characters in a textarea
During one of my project we found some problem in open a vertical accordion when content inside the accordion more then the page height. This code might be helpful for you solve your issue.