How can I get product details like product type and name in particular product reviews list page.
Actually I want to Display "Product-Name reviews" Instead of "Customer Reviews" in product detail page.
Any help would be appreciated, Thanks.
Magento Stack Exchange is a question and answer site for users of the Magento e-Commerce platform. It only takes a minute to sign up.Sign up to join this community
product/view/list.phtml to your custom theme. We get product data directly on our template:
<?php $productName = $block->getProduct()->getName(); ?> <div class="block-title"> <!-- <strong>--><?php ///* @escapeNotVerified */ echo __('Customer Reviews') ?><!--</strong>--> <strong><?php echo $productName; ?></strong> </div>