Using Magento header / footer outside of Magento

If you want to include the header and footer of magento outside of it, say for example for third party cms/application then you can use the following trick. 0> Using Magento Code outside of Magento <?php /** * @author MagePsycho <info@magepsycho.com> * @website https://www.magepsycho.com * @category using Header / Footer outside of Magento */ $mageFilename …

Read moreUsing Magento header / footer outside of Magento

Playing with Attribute Set in Magento

Introduction An attribute set is a collection of attributes which can be created/edited from Catalog -> Manage Attribute Sets in backend. Some useful snippets regarding Attribute Set. 1> Getting Attribute Set Details $attributeSetModel = Mage::getModel(‘eav/entity_attribute_set’); $attributeSetId = 9; // or $_product->getAttributeSetId(); if you are using product model $attributeSetModel->load($attributeSetId); print_r($attributeSetModel->getData()); 2> Getting Attribute Set Id by …

Read morePlaying with Attribute Set in Magento