I need to move/rearrange Reviews from tabs of product page to bottom of page. Here is how I updated my theme file's default.xml

<referenceBlock name="reviews.tab" remove="true" />    <!-- Removed tab  -->

        <referenceContainer name="content">
        <container name="new_space"  htmlTag="div" htmlClass="container"  after="-">  <!-- New Container to display at bottom of page -->

This code works well and placed reviews at bottom of page but Home page of site goes blank and error log display below errors:

PHP Fatal error: Uncaught Error: Call to a member function getId() on null in /chroot/home/londonwa/londonwala.in/html/vendor/magento/module-review/Block/Product/View.php:131

My issue same issue like: How to Exclude Magento Review tab from tabs and show at bottom but thats in magento 1.x version.


Magento2, have layout tag <move> by which you move a block reference area to another area.

Please add this code at catalog_product_view.xml app/design/frontend/[VendorName]/[ThemeName]/Magento_Catalog/layout

<?xml version="1.0"?>
<page layout="1column" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xsi:noNamespaceSchemaLocation="urn:magento:framework:View/Layout/etc/page_configuration.xsd">
        <!-- add this code -->
         <move element="reviews.tab" destination="content" after="-"/>
    <!-- end -->
  • Thanks. You all code worked well even which before 1st edit and i displayed it in content because its location where i needed. You are inspiration for me always. I can understand how you added and updated all code. Great Sir :)
    – Jarnail S
    Dec 23 '16 at 8:14
  • you welcome @Jai.
    – Amit Bera
    Dec 23 '16 at 8:34
  • @AmitBera - I am trying to do same but not displaying my review information in bottom page. Can you please help me?
    – jassi
    Jul 21 '17 at 16:55
  • If you're confused what is destination than here is the guide for it, you can refer to this devdocs.magento.com/guides/v2.0/frontend-dev-guide/layouts/… and it is placed in vendor/magento/module-review/view/frontend/layout/catalog_product_view.xml Nov 9 '17 at 20:01
  • @Amit Bera, I'm trying to move the review tab but it's not working. Please check this magento.stackexchange.com/questions/281376/… and help me
    – Siva
    Jul 10 '19 at 10:40

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service, privacy policy and cookie policy

Not the answer you're looking for? Browse other questions tagged or ask your own question.