I have created a custom template for the product page based on the attribute value.
in my template i used below code to display the review section.
<?php echo $block->getLayout()->createBlock("Magento\Catalog\Block\Product\View")->setTemplate("Magento_Catalog::product/view/review.phtml")->toHtml(); ?>
with this code, i can see the link 'Be the first to review the product'.
But after clicking the link, the review form tab is not expanding. Can anyone help me on this please?
sometimes in console i get this error,
Uncaught Error: no such method 'activate' for tabs widget instance
Please check this n share your ideas.
Thanks in Advance!!