Magento
Magento: Enable template block hint in admin panel
You can enable Template path hint in two ways: WAY 1: Connet your Database and enter values into ‘core_config_data’ table Run the following query on the Magento database: When you’ve finished development want to turn off template hints in the Read more…
Magento
Magento: Add to cart functionality for static block
In Your Static block suppose this is the product add to cart link: you need to call a function with parameter of product id, in your header write a script with the following code: and inside the controller add the Read more…
Magento
Magento: Custom Price range in layered navigation
Navigate to file view.phtml app/design/frontend/your-package/your-theme/template/catalog/layer/view.phtml Remove all file code with the following code
Magento
Magento: New Product in home page with pagination
app/code/local/Mage/Catalog/Block/Product/New.php app->design->fronted->your_package->your_theme->template->catalog->product->new.phtml Add code in cms->page->design->Layout Update XML area.
Extension
Magento: Set Limit to compare products
Create A small extension for the requirement Create a file: app/code/local/Sushant/Catalog/etc/config.xml Helper: app/code/local/Sushant/Catalog/Helper/Observer.php Enable Your module :
Magento
Magento: Display All category in layered navigation
Step1: Make a backup your view.phtml file app/design/frontend/your_package/tour_theme/template/catalog/layer/view.phtml If not available copy and pase it from base and remove all view.phtml file code and replace with the following code:
Magento
Magento: Add aw blog latest post in home page
Display blog posts to CMS pages : In app/design/frontend/default/default/template/aw_blog/ Step 1: Create a new file home_latest_blog.phtml with the following code: If You want to change blog post limit Change in ->setPageSize(3) set your size Step 2: Now call home_latest_blog.phtml in Read more…
Magento
Magento: Display tier price in table format
Magento default tier price display in list format please see in image now i have display tier price in table format. To show the tier price in table format open your product view page and add the following code: app/design/frontend/rwd/default/template/catalog/product/view.phtml Read more…