Few magento snippets