Posts

Showing posts from September, 2014

Always Show Shipping Costs in Magento

http://www.rapidcommerce.eu/blog/2012/04/allways-show-shipping-costs-in-magento/ Instructions for installing this extension: 1. Download the zip (DUH!) 2. Extract it’s contents to the root of your Magento installation. You can use FTP to do that. It’s the directory containing index.php [App] [Skin] [Media] among others 3. Log in to your Magento backend 4. Go to System -> Cache Management, select all options, and in the action dropdown select “Refresh”. Then click Submit. 5. Log out/in to your backend 6. Go to System -> Configuration -> Shipping Settings and drop down the “Origin” selection 7. This extension adds two new options here; “Apply defaults to empty quote” and “Default shipping method” 8. Set “Apply defaults to empty quote” to “Yes” , set “Default shipping method” to your preferred shipping method. And make sure “Country” is set. 9. Click save config. 10. All done!

To Get the Category id

$categoryid = Mage::getModel('catalog/layer')->getCurrentCategory()->getId(); $catagory_model = Mage::getModel('catalog/category')->load($categoryid); echo $catagory_model->getDescription();