How to move reviews to product description magento

How to move reviews to product description magento

September 4, 2026 · Illustrated author avatarBy Stefan Bogdanescu
How to move reviews to product description magento

Moving Reviews to Product Description in Magento

In this guide, we’ll walk you through the process of moving the reviews tab to the product description section in your Magento store. This can enhance user experience by allowing customers to read both the product overview and its reviews in a single location.

Current Setup

Let’s first understand the current tab layout on the sample site provided:

  1. Product Description: Contains the basic information about the product.
  2. Reviews: Displays customer feedback for the product.
  3. Product Tags: Lists relevant tags associated with the item.

You want to combine tabs 1 and 2, moving reviews directly under or within the product description section without requiring a separate tab click.

Moving Reviews to Product Description

To achieve this, we’ll need to modify a few core Magento files and add some custom code. Here’s how:

Step 1: Enable Custom Layout Update

First, ensure that the custom_layout_update.xml file is enabled in your theme configuration. This file allows you to overwrite default layouts.

<reference name="root">
    <action method="setTemplate"><template>page/html/head.phtml</template></action>
</reference>

Step 2: Modify Product View Template

Next, we need to modify the product view template (catalog/product/view.phtml) to display reviews within the description.

  1. Navigate to app/design/frontend/{YourTheme}/{YourThemeName}/template/catalog/product/view.phtml.

  2. Find the line where Magento displays the tab layout (usually around line 105).

  3. Replace the existing tab layout with custom PHP logic to fetch and display reviews directly under the product description.

<?php
   $_product = $this->getProduct();
   $_reviewHelper = Mage::helper('reviews/review');
   $_reviewsCollection = $_reviewHelper->getReviewsCollection($_product);
?>

<!-- Display Product Description -->
<div class="std">
    <?php echo $_product->getDescription(); ?>
</div>

<!-- Display Reviews Directly Under Description -->
<div class="reviews">
    <?php if ($_reviewsCollection->count()): ?>
        <h2><?php echo $this->__('Customer Reviews') ?></h2>
        <?php foreach($_reviewsCollection as $_review):
            echo $_reviewHelper->getReviewText($_review);
        endforeach; ?>
    <?php else: ?>
        <p><?php echo $this->__('There are no reviews yet.') ?></p>
    <?php endif; ?>
</div>

Step 3: Clear Cache and Reindex

After updating the files:

  1. Clear your Magento cache from System > Configuration > Advanced > System > Cache Management.

  2. Reindex your data from Index Management under Catalog > Index Management.

Conclusion

By following these steps, you should now have successfully moved reviews to appear directly within or immediately after the product description on your Magento store.

The key was to modify the layout update file and then adjust the product view template to fetch and display reviews using custom PHP logic. This approach adheres to standard Magento development practices and ensures a clean, integrated user experience for your customers.

Remember, any changes you make to core files should be done in a local development environment first. Always test thoroughly before applying these modifications to your live store.

For more advanced Magento development tutorials and resources, I recommend checking out the Laravel Company blog for in-depth guides and best practices.

Happy coding!

Catalog Themes Configuration Customers

Our network