Magento
Magento: total number of products in a category
Write down the following code in list.phtml If you want to show total numbers of products in a particular category Get total number of items of a category in view.phtml
Write down the following code in list.phtml If you want to show total numbers of products in a particular category Get total number of items of a category in view.phtml
1- In your root folder\js\prototype\validation.js 2-Open the above file and find it (validate-email) in magento 1.9 near line 526 change Message according to your requirement.
Step 1 : Open file: root/app/design/frontend/your-package-name/your-theme/template/newsletter/subscribe.phtml Add input field for ‘Name’ before ‘Email’ Field : Step 2 : Open file: root/app/code/core/Mage/Newsletter/controllers/SubscriberController.php A. Search: Replace with: Step 3 : Open file : root/app/code/core/Mage/Newsletter/Model/Subscriber.php A. Search: Replace with: B. Search: Add after it: C. Search: Add after it: Step 4 : Open Read more…
Run Below Query in your database.please make a backup your db
1-Copy category folder from base/default/template/catalog/category and paste it in your theme before modification. 2-copy and paste the following code in your-theme/default/template/catalog/category/view.phtml
You Can accomplish this task in three ways. 1- Using Back end Login to admin side Catelog -> manage Categories -> Choose your category Then on the tab section select Custom Design. Change the Page Layout as what ever you want. 2-Using “page.xml” Open page/xml located in ( app/design/frontend/your_package/your_theme/layout/page.xml) find Read more…
1- open Developer log from backend to check the listing page layout. 2- In my case i found that it is 3columns.phtml app/design/frontend/default/your-theme-name/template/page/3columns.phtml Now in the Magento back end create a new Static Block. I will assume that you are already familiar with creating a Static Block in Magento so Read more…
There are several methods used for overriding magento core files, which i have explained earlier. Here I’m going to explain one of simplest method to override core files in magento. In this method to override magento core files, you don’t need to create your own module and write some xml Read more…
Open .htaccess file in Your Root Folder and copy and paste the following code.
If you want to access your magento URL without index.php for example: http://domain.com/index.php/category to http://domain.com/category then use the following steps 1) Login to admin section by using the URL http://domain.com/index.php/admin 2) then go to “System >> Configuration >>Web >> Search Engines Optimization” Use Web Server Rewrites : YES 3) Go Read more…