Magento Remove Customer service

November 25, 2010 at 8:46 PM 8 comments

Its very easy to remove did you know customer service  from the Magento Home page.  Just follow the steps given below to remove it very easily.

(For your information, you can just click on the images in this post or any of the posts in this blog to get opened in a new tab or window and you can maximize it / zoom it. All the images used  in this post or any of the posts in this blog are high resolution images so that you can get a clear picture, If there are any discrepancies let me know through your comments )

1. In your magento store admin panel, Go to System-> Configuration and then select Design on the left side bar.

2. Check if your package is ‘default‘ or ‘somecustomethemename‘ . If its ‘default’ then go the following folder location

Youstoreroot/app/design/frontend/default/default/

In case of custom theme go to the following location

Youstoreroot/app/design/frontend/yourcustomtheme/default/

3. Create layout folder if its not there

4. Create a new layout file called “local.xml” inside layout folder

and place the code below into it and save it.

<?xml version="1.0"?>
<layout version="0.1.0">
<default>
<reference name="left">
<block type="core/template" name="left.permanent.callout" template="callouts/left_col.phtml">
<!--   <action method="setImgSrc"><src>images/media/col_left_callout.jpg</src></action>
<action method="setImgAlt" translate="alt" module="catalog"><alt>Our customer service is available 24/7. Call us at (555) 555-0123.</alt></action>
<action method="setLinkUrl"><url>checkout/cart</url></action> -->
</block>
</reference>
</default>
</layout>

All i have done is Commented out the <action> nodes responsible to display the customer service image. Please use only HTML block comments <!– –>.

5. Go To System->cache management and refresh the cache types “Layouts
and “Block HTML output“. We ‘re done with this.

6. After refreshing just reload your page and find your “Customer Service” image has been removed from the left sidebar in all your magento pages.

If you want to remove it only from the specific pages then let me know, i can update my post.

By the way, Please ignore the following approach , which is no more recommended.

1. Go to yourStorename\app\design\frontend\base\default\layout

In this case its demostore\app\design\frontend\base\default\layout

and find the file “catalog.xml“.

2. We have to override this file by our default template. Create same directory structure what we had for catalog.xml inside base template.

Create Two folders named “template” and “layout” inside app/design/frontend/default/default

3. Copy the File “Catalog.xml” inside the layout folder what we have created inside the default folder.

4. Now open the catalog.xml file which we have copied just now inside default folder and comment out the code attached below which are inside the tag <reference name=”left”>.

magento remove customer service left

FYI :  Kindly use HTML comments <!– –>.

<!–

<action method=“setImgSrc”><src>images/media/col_left_callout.jpg</src></action>
<action method=“setImgAlt” translate=“alt” module=“catalog”><alt>Our customer service is available 24/7. Call us at (555) 555-0123.</alt></action>
<action method=“setLinkUrl”><url>checkout/cart</url></action>


–>

5. Go to Varien / Cache directory and delete the files or flush your cache from the Magento admin panel. Now refesh the browser and see the Customer service did you know block has been removed successfully from the home page.

Cheers :-)

If you have appreciations, suggestions, difficulties or discrepancies with this kindly let me know through your comments.

Catch you with another useful Magento article

You may also need this

Magento Remove Back To school

Magento remove Paypal logo

About these ads

Entry filed under: magento, PHP. Tags: .

Magento Email Templates Magento remove back to school

8 Comments Add your own

  • 1. Syntax3rror  |  May 30, 2011 at 8:13 AM

    Thanks for this post. This what really I looking for.
    You save my time dude. :0

    Reply
  • 2. Faizan Ahmed  |  September 15, 2011 at 11:46 AM

    thanks buddy; its really good

    Reply
  • 3. james potter  |  November 2, 2012 at 7:34 AM

    instead of deleting it can i change the number on it to my own? i did everything on this except i changed the number on it and it didn’t work

    Reply
    • 4. haijerome  |  November 7, 2012 at 6:10 PM

      Yes you can change the number in the layout file “local.xml”. By the way i have updated my post. Please check.

      Reply
  • 5. Leon Straathof  |  May 4, 2013 at 3:42 AM

    This does not seem to work ok anymore for the latest version. I i use this approach the picture is show twice in the right column. when commented out with the 2 pictures change to the picture not found default browser picture (eg a white X in a black box).

    Reply
  • 6. Leon Straathof  |  May 4, 2013 at 4:10 AM

    After RTFM i found that the above solution is wrong. For removing both left and right callout you should use the following XML code:

    Reason that my solution is ok and the original solution supplied here not is that the manual clearly states that our local.xml should undo what the template has already set. So the objects are already placed by the template so if you want them removed you should state remove.

    Reply
  • 7. Leon Straathof  |  May 4, 2013 at 4:14 AM

    After RTFM i found that the above solution is wrong. For removing both left and right callout you should use the following XML code:

    <?xml version=”1.0″?>
    <layout version=”0.1.0″>
    <default>
    <reference name=”left”>
    <remove name=”left.permanent.callout”/>
    </reference>
    <reference name=”right”>
    <remove name=”right.permanent.callout”/>
    </reference>
    </default>
    </layout>

    Reason that my solution is ok and the original solution supplied here not is that the manual clearly states that our local.xml should undo what the template has already set. So the objects are already placed by the template so if you want them removed you should state remove.

    Reply
  • 8. Julio  |  May 22, 2013 at 1:40 AM

    After applying your solution at the top, The “Customer Support” image is gone but I still get a broken image above and another below the Newsletter box. Any ideas?
    Thanks

    Reply

Leave a Reply

Fill in your details below or click an icon to log in:

WordPress.com Logo

You are commenting using your WordPress.com account. Log Out / Change )

Twitter picture

You are commenting using your Twitter account. Log Out / Change )

Facebook photo

You are commenting using your Facebook account. Log Out / Change )

Google+ photo

You are commenting using your Google+ account. Log Out / Change )

Connecting to %s

Trackback this post  |  Subscribe to the comments via RSS Feed


Most Searched Keywords

magento PHP

Categories

Recent Posts

Blog Stats

  • 77,400 hits

Follow

Get every new post delivered to your Inbox.

%d bloggers like this: