I tried, app/design/frontend/Test/abc/Magento_Review/layout/review_product_list.xml

   <?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">
    <referenceContainer name="page.bottom.container">
    <referenceBlock name="product.info.product_additional_data">
        <action method="setTemplate">
            <argument name="template" xsi:type="string">Magento_Review::product/view/list.phtml</argument>


    $_items = $block->getReviewsCollection()->getItems();
    $format = $block->getDateFormat() ?: \IntlDateFormatter::SHORT;
<?php if (count($_items)):?>
<div class="block review-list" id="customer-reviews">
<div class="block-title">
    <strong><?php /* @escapeNotVerified */ echo __('Customer Reviews new24234') ?></strong>
<div class="block-content">
    <div class="toolbar review-toolbar">
        <?php echo $block->getChildHtml('toolbar') ?>
    <ol class="items review-items">
    <?php foreach ($_items as $_review):?>
        <li class="item review-item" itemscope itemprop="review" itemtype="http://schema.org/Review">
            <div class="review-title" itemprop="name"><?php echo $block->escapeHtml($_review->getTitle()) ?></div>
            <?php if (count($_review->getRatingVotes())): ?>
                <div class="review-ratings">
                <?php foreach ($_review->getRatingVotes() as $_vote): ?>
                <div class="rating-summary item" itemprop="reviewRating" itemscope itemtype="http://schema.org/Rating">
                    <span class="label rating-label"><span><?php echo $block->escapeHtml($_vote->getRatingCode()) ?></span></span>
                    <div class="rating-result" title="<?php /* @escapeNotVerified */ echo $_vote->getPercent() ?>%">
                        <meta itemprop="worstRating" content = "1"/>
                        <meta itemprop="bestRating" content = "100"/>
                        <span style="width:<?php /* @escapeNotVerified */ echo $_vote->getPercent() ?>%">
                            <span itemprop="ratingValue"><?php /* @escapeNotVerified */ echo $_vote->getPercent() ?>%</span>
                <?php endforeach; ?>
            <?php endif; ?>
            <div class="review-content" itemprop="description">
                <?php echo nl2br($block->escapeHtml($_review->getDetail())) ?>
            <div class="review-details">
                <p class="review-author">
                    <span class="review-details-label"><?php /* @escapeNotVerified */ echo __('Review by')?></span>
                    <strong class="review-details-value" itemprop="author"><?php echo $block->escapeHtml($_review->getNickname()) ?></strong>
                <p class="review-date">
                    <span class="review-details-label"><?php /* @escapeNotVerified */ echo __('Posted on') ?></span>
                    <time class="review-details-value" itemprop="datePublished" datetime="<?php /* @escapeNotVerified */ echo $block->formatDate($_review->getCreatedAt(), $format) ?>"><?php /* @escapeNotVerified */ echo $block->formatDate($_review->getCreatedAt(), $format) ?></time>
    <?php endforeach; ?>
    <div class="toolbar review-toolbar">
        <?php echo $block->getChildHtml('toolbar') ?>
<?php endif;?>

Also created register.php, composer file and theme.xml in Test/abc folder and in backend theme is assigned.

But its not working.

  • Have you applied that theme in store ? Commented Jul 20, 2017 at 13:43
  • yes, I have applied the theme
    – jassi
    Commented Jul 20, 2017 at 13:45

1 Answer 1


When you place the file in the same location like you have done you extend the file, to completely override it you need to place it in the following directory:


Or if you need to overwrite the file from a parent theme:


Your example

So if you are overriding review_product_list.xml from base (the module) you would create this file:


And if you're overriding it from a parent theme:


If this doesn't work I think there is a bigger problem, such as a theme not being configured properly.

You can read more about overriding XML files in the dev docs here.


Your Answer

By clicking “Post Your Answer”, you agree to our terms of service and acknowledge you have read our privacy policy.

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