Move a product-review summary below add to cart button
-
11-10-2020 - |
Question
I want to move product-review-summary
in products listing
page above the price which is at the bottom of product-information. that is after add to cart button . How should I do this?
what is the name of the xml file I should edit.? and what is the block and destination names to give in move command?
Solution
Override vendor\magento\module-catalog\view\frontend\templates\product\list.phtml
in your theme and move this text
<?php echo $block->getReviewsSummaryHtml($_product, $templateType); ?>
after your product actions product-item-actions
div.
Licensed under: CC-BY-SA with attribution
Not affiliated with magento.stackexchange