Magento
Magento: Remove View All (category name) link from submenu in magento 1.9
Open renderer.phtml from located in app/design/frontend/your_package/your_theme/template/page/html/topmenu and comment out the following code as mentioned below:
Magento
Magento: Add Home link in topmenu
open topmenu.phtml located in app/design/frontend/rwd/healthfulpets/template/page/html/topmenu.phtml Add the home link as below: Example off Full Page:
Magento
Magento: How to Properly Include Custom CSS and JS files
For all pages For all CMS pages For certain CMS pages For all category pages For certain category pages For all product pages For certain product pages if you haven’t already created a file “local.xml” in your custom theme’s layout folder, first create it and start the file with this Read more…
Magento
Magento: Product collection in any page filter by category attribute
OR: Or For Distinct Values:
Magento
Magento: Product Collection all filter codes
Load Product Collection 1 2 3 $collection = Mage::getModel(‘catalog/product’)->getCollection(); or $collection = Mage::getResourceModel(‘catalog/product_collection’); Add Attributes To Collection The product model is an enormous data set, and the more attributes we include in the load the longer it will take. By default, Magento will only load the basic data found in Read more…
Magento
Magento: Product Discount percent you save
Open app/design/frontend/yourpackage/yourtheme/template/catalog/product/price.phtml if the file is not available in your theme folder copy it from base Find: // near line no : 397 according to magento 1.9 Add above it: add this custom code:
Magento
Magento: How to get actual price and special price of a product?
Loading Product Get Actual Pric: Get Special Price:
Magento
Magento: Sale icon if special price available
Open app/design/frontend/YourPackage/YourTheme/template/catalog/list.phtml Find (around line 61 for list view or line no 134 for grid view) // according to magento 1.9 change to: Next open style.css (skin/frontend/YourPackage/YourTheme/css/style.css)Find change to Below this add
Magento
Magento: Remove Decimals from product price
For this, you need to edit /app/code/core/Mage/Directory/Model/Currency.php Note:– Do not change core functionality beside override the file in local folder Find the following :- code change this code to:-