$layer = Mage::getSingleton(‘catalog/layer’);$_category = $layer->getCurrentCategory();$currentCategoryId= $_category->getId();
Classic Blog List
In Magento eCommerce, it is possible to add new attributes to product models and edit the values for these attributes…
There are many ways to mass update product attributes in Magento, each well suited to a different purpose. Magento’s built-in…
Magento’s use of data models provide a great way to access and modify data. Using aptly named methods and clever…
There’s two ways, that I know of, to enable Maintenance Mode in Magento.Maintenance.flag Since the version 1.4 you can activate…
.htaccess You can set the Store View code adding the following line to your .htaccess In this example my Store…
The post title might be a little confusing, let me enlighten you 😉 Have you ever wanted to print a…
To upload profile photo for customer in magento we need to follow few steps as below. Add a new…