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

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.....

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

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

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

LinkWithin

Blog has moved, searching new blog...