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.
customermagento2productproduct-viewreview
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.
Best Answer
Copy
product/view/list.phtml
to your custom theme. We get product data directly on our template:$block->getProduct()
.app/design/frontend/Vendor/Theme/Magento_Review/templates/product/view/list.phtml