PHPFixing
  • Privacy Policy
  • TOS
  • Ask Question
  • Contact Us
  • Home
  • PHP
  • Programming
  • SQL Injection
  • Web3.0

Thursday, November 10, 2022

[FIXED] How to remove additional tab on product page magento

 November 10, 2022     layout, magento, magento-1.7     No comments   

Issue

I want to know How to remove additional tab on magento product page. I have using Ultimo theme on magento 1.7.0.2 I try to search from previous post but still can't remove it.

I have add additional information to a product description and change a name to "ข้อมูลสินค้า" My point is remove a second tab but still show information on "Product description

This is my product page. http://www.siameyewear.com/ray-ban-rb3025-001-58-aviator-large-metal.html

Thank you.


Solution

I'd create local.xml file inside your theme folder app/design/frontend/[your_package]/[your_theme] (if you haven't already)

And insert the following lines there

<?xml version="1.0"?>

<layout version="0.1.0">

<catalog_product_view>
    <reference name="product.info.tabs">
        <action method="unsetChild">
            <child>product_additional_data</child>
        </action>
    </reference>
</catalog_product_view>

</layout>

After that clear the cache. If you prefer to edit XML in separate files (which I'm not), find catalog.xml of your theme. find the following line and comment them (<!-- -->)

<action method="addTab" translate="title" module="catalog"><alias>additional</alias><title>Additional Information</title><block>catalog/product_view_attributes</block><template>catalog/product/view/attributes.phtml</template></action>


Answered By - Sergei Guk
Answer Checked By - Mildred Charles (PHPFixing Admin)
  • Share This:  
  •  Facebook
  •  Twitter
  •  Stumble
  •  Digg
Newer Post Older Post Home

0 Comments:

Post a Comment

Note: Only a member of this blog may post a comment.

Total Pageviews

Featured Post

Why Learn PHP Programming

Why Learn PHP Programming A widely-used open source scripting language PHP is one of the most popular programming languages in the world. It...

Subscribe To

Posts
Atom
Posts
Comments
Atom
Comments

Copyright © PHPFixing