For deleting or changing the "from" and "to" date of the coupon each time we have to go into each coupon and then we have to delete it or change the date
Below functionality will help to do the mass deletion of the coupon and changes t he date also
For that we have to copy the app/code/core/Mage/Adminhtml/Block/Promo/Quote/Grid.php into
app/code/local/Mage/Adminhtml/Block/Promo/Quote/grid.php and following functions
Tuesday, March 27, 2012
Magento show subcateogry instead of Products in grid/list Page
Magneto Have default functionality of showing the Products in list view or Grid view
But some time we require to show the Sub catgeory in list page and if that sub catrgoy have another subcategory
For showing that we need to work on following
But some time we require to show the Sub catgeory in list page and if that sub catrgoy have another subcategory
For showing that we need to work on following
Saturday, March 24, 2012
Magento Config.xml
However all the files are merged together during the parsing process.It will help to understand the XML structure. It is the reason that the module name is repeated as an XML element name (represented below as <(modulename)>) several times through every file - this is necessary to segregate configuration for each module. Without these elements, the configuration in these sections would be overwritten by the configuration files in other modules.
so let us understand the XMl and its ELements ans tructure
Every Config.xml has following elements
The XML sub-structure of each element is described separately below.
1)Modules
<modules>
<(NameSpace_ModuleName)>
<active>[true|false]</active>
<codePool>[core|community|local]</codePool>
<depends>
<(AnotherNameSpace_ModuleName) />
</depends>
<version>(version_number)</version>
</(NameSpace_ModuleName)>
</modules>
so let us understand the XMl and its ELements ans tructure
Every Config.xml has following elements
modules | global | admin | adminhtml | install | frontend | default | stores | websites |
1)Modules
<modules>
<(NameSpace_ModuleName)>
<active>[true|false]</active>
<codePool>[core|community|local]</codePool>
<depends>
<(AnotherNameSpace_ModuleName) />
</depends>
<version>(version_number)</version>
</(NameSpace_ModuleName)>
</modules>
active | codePool | depends | version |
Friday, March 23, 2012
Magento Add New field in Customer Admin
Adding an Attribute in Product quite simple we can add through admin but adding a field(attribute) in customer cannot be achieved through admin so here is the simple solution for adding the attribute in Category through Database.Open the phpmyadmin.Here we need to work on three tables.
Magento How to call a phtml file in magento cms page
You can't call a phtml file by writing php code in Magento admin panel as Magento admin panel doesn't support this.
To call a PHTML write the folllowing code in the page which you have created under CMS
To call a PHTML write the folllowing code in the page which you have created under CMS
Magento
CMS
Monday, March 19, 2012
Magento install step by step
Easy way to install magento on local machine with XAMPP or WAMP server
1) Go to Magento and download a latest copy of this software here.
Extract the folder to C:Xampphtdocs or C:wampwww (if you install them in default mode).
Download a sample data and extract them to your folder from magento site
1) Go to Magento and download a latest copy of this software here.
Extract the folder to C:Xampphtdocs or C:wampwww (if you install them in default mode).
Download a sample data and extract them to your folder from magento site
Saturday, March 10, 2012
Magento Template Hints
While Working on Magento Some time we can't able to find the template files of particular module so by default magento had provide the feature to Debug that and that can be seen in Front End
When you work with Magento, you will sooner or later as a developer can not avoid the Template Hints. The template hints can be found under the Admin
System> Configuration> Developer> Debug> Template Path Hints
Make it yes for all three or you make for Template links so screen will look like this and you can easily figure out the module name with template file
When you work with Magento, you will sooner or later as a developer can not avoid the Template Hints. The template hints can be found under the Admin
System> Configuration> Developer> Debug> Template Path Hints
Make it yes for all three or you make for Template links so screen will look like this and you can easily figure out the module name with template file
![]() |
Template links shown in frontend |
Magento
Templates
Wednesday, March 7, 2012
Magento After Installation Admin Doesn't Login
If you want to install Magento on WAMP orXAMPP server, localhost, then you are going to face a very irritating problem with it, which does not let you go into the admin panel, even if you enter the correct details.
So, here is the simple fix to override this problem.
So, here is the simple fix to override this problem.
Magento
Installation
Sunday, March 4, 2012
Magento Add “is in stock” column in Products Grid
Adding the "Availability" in the column Catalog product gird
Here how to add new column to manage “in stock” and “out of stock” products
Here how to add new column to manage “in stock” and “out of stock” products
Magento
Stock
Tuesday, February 21, 2012
Magneto Removal of "/" for Duplicate Link
For SEO reasons store owners will often want to standardise the URL generation in their Magento store.so sometime duplicate link generate for the same page
Ex: :yourdomain.com/contactus/
yourdomain.com/contacts
Both will open the same page but why two link it is not standard for SEO purpose
So,for removing "/" from url we need to update changes in the following files
Ex: :yourdomain.com/contactus/
yourdomain.com/contacts
Both will open the same page but why two link it is not standard for SEO purpose
So,for removing "/" from url we need to update changes in the following files
Magento
Duplicate links
Sunday, February 19, 2012
Magento Add NOINDEX,FOLLOW
Some time we required to show the NoIndex,Follow in some pages only like CMS page or category page
we can add the following code as per the page in there respective XML
Like we don't want to show the Contacts us page in NOINDEX,FOLLOW
So open the contacts xml and add the code
<reference name="head">
<action method="setRobots"><value>NOINDEX,FOLLOW</value></action>
</reference>
Just refresh that page and you will get the Page in NOINDEX
Hope this will help you.....
we can add the following code as per the page in there respective XML
Like we don't want to show the Contacts us page in NOINDEX,FOLLOW
So open the contacts xml and add the code
<reference name="head">
<action method="setRobots"><value>NOINDEX,FOLLOW</value></action>
</reference>
Just refresh that page and you will get the Page in NOINDEX
Hope this will help you.....
Magento Get overall Bestselling Product
Magento Over all best selling Product on Home page
Add new function in files as per the version
- app/code/core/Mage/Sales/Model/Mysql4/Report/Bestsellers.php
- app/code/core/Mage/Sales/Model/Mysql4/Report/Bestsellers/Collection.php
- app/code/core/Mage/Sales/Model/Mysql4/Report/Bestsellers.php
- app/code/core/Mage/Sales/Model/Mysql4/Report/Bestsellers/Collection.php
Magento
Bestselling,
Products
Friday, February 10, 2012
Magento Edit the "Shipping & Handling" in Cart
Easy way to Edit the Text "Shiping & Handling" in Cart
Open the file app/code/core/ Mage/Sales/Model/Quote/ Address/Total/shipping.php
Copy in local folder app/code/local/ Mage/Sales/Model/Quote/ Address/Total/shipping.php
And search for the function fetch ()
in that you can edit the text for the "Shipping & handling" to Shipping or Some thing
Hope this will Help You
Thursday, February 9, 2012
Magneto add Manufacture in grid Column for Admin
Add the brand/manufacture in grid for admin
Just open the file \app\code\core\Mage\Adminhtml\Block\Catalog\Product\grid.php and
Paste in local folder app\code\local\Mage\Adminhtml\Block\Catalog\Product
and add the below code in _prepareColumns( ) function
Just open the file \app\code\core\Mage\Adminhtml\Block\Catalog\Product\grid.php and
Paste in local folder app\code\local\Mage\Adminhtml\Block\Catalog\Product
and add the below code in _prepareColumns( ) function
Thursday, February 2, 2012
How to show the Exact searh result in Magento
If you want to show the exact search reult for your products
Two things need to be changed
1) In admin system->configuration-> catalog->catlogsearch->Search Type
Make it as Like
Two things need to be changed
1) In admin system->configuration->
Make it as Like
Subscribe to:
Posts (Atom)