Magento
Magento: Custom drop down attribute filter in Category Category Products Tab
override the Product.php in local: app/code/local/Mage/Adminhtml/Block/Catalog/Category/Tab/Product.php
override the Product.php in local: app/code/local/Mage/Adminhtml/Block/Catalog/Category/Tab/Product.php
You can add time duration in $fromDate = ‘2013-12-10’; $toDate = now();
Full Page code app/code/local/Webskitters/Banner/controllers/Adminhtml/BannerController.php
Navigate to following path and make some changes: app/code/core/Mage/CatalogSearch/Block/Autocomplete.php At the bottom of page find the function named function getSuggestData() comment out or remove the function with the following code:
You may Run this code on list page: This code will update the attribute value based on all order after run this code remove the code and the next code in success.phtml: increment the attribute value on each orders:
You have to create an extension to display category filter in products grid. Please create the Extension with the following files : Create a new file in the following directory: app/code/local/Sushant/AdminGridCategoryFilter/Block/Catalog/Product/Grid/Render/Category.php Create a new file in the following directory: app/code/local/Sushant/AdminGridCategoryFilter/Helper/Data.php Create a new file in the following directory: app/code/local/Sushant/AdminGridCategoryFilter/Model/System/Config/Source/Category.php Create Read more…
Some time you may be need to show subcategories of category on landing page Navigate to the following page and change the page code with the following code: app/design/frontend/rwd/default/template/catalog/category/view.phtml
How to check the current category level: 1- In category view page 2- in Other Pages: