I have custom module page which has products on a slider.
When I click on slider product according to that product I want to show a Review - Rating Form on custom page which can be filled once by customer who logged-In.
Here is the page where I want to show review form :
When I click on test product review form should be visible on a block.
Below form should be visible according to Product :
Updated code (I tried this in my xml):
<page xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" layout="1column" xsi:noNamespaceSchemaLocation="urn:magento:framework:View/Layout/etc/page_configuration.xsd">
<body>
<update handle="review_product_form_component"/>
<referenceContainer name="content">
<block class="<vendor>\Review\Block\Order\Products" name="thinkideas_review_products" template="<vendor>_Review::reviewproducts.phtml">
<block class="Magento\Review\Block\Product\Review" name="reviews.order.test" as="reviews_testorder" template="Magento_Review::review.phtml" >
<block class="Magento\Review\Block\Form" name="product.review.form.test" as="review_form_order"/>
</block>
</block>
</referenceContainer>
</body>
Any suggestion would be appreciated.