Sharing is helping.

We offer you this space to share your knowledge about Magento and learn from our experienced customers.

    Home Forums Theme Forum HelloSonar & HelloSonar iPhone How to remove tabs of product page

    This topic contains 2 replies, has 3 voices, and was last updated by  Anonymous 5 years, 6 months ago.

    Viewing 3 posts - 1 through 3 (of 3 total)
    • Author
    • #16517


      Hello i’d like to remove tabs from product page, to avec addtionnal information below the description, like in the default themes. How can i do that ?




      Hi Fabrice,

      You can do the following, open your tabs.phtml. Replace your code with this one

      <?php foreach ($this->getTabs() as $_index => $_tab): ?>

      <?php if($this->getChildHtml($_tab['alias'])): ?>
      <div class=”tabheader”>
      <h2 id=”product_tabs_<?php echo $_tab['alias'] ?>” <?php echo !$_index ? ‘class=”active first”‘ : ” ?>><?php echo $_tab['title']?></h2>
      <div class=”tabinfo”>
      <div id=”product_tabs_<?php echo $_tab['alias'] ?>_contents”><?php echo $this->getChildHtml($_tab['alias']) ?></div>
      <?php endif; ?>
      <?php endforeach; ?>

      Then add the following to styles.css

      .tabheader {background:white; font-size:8px; padding-left:10px}

      and adjust like you wish.



      Thanks for helping each others, this is the idea of the forum. :D


    Viewing 3 posts - 1 through 3 (of 3 total)
    Reply To: How to remove tabs of product page
    Your information:

    <a href="" title=""> <abbr title=""> <acronym title=""> <b> <blockquote cite=""> <cite> <code class="" title="" data-url=""> <del datetime=""> <em> <i> <q cite=""> <strike> <strong> <pre class="" title="" data-url=""> <span class="" title="" data-url="">