I have created custom module for product review.If I click the review link, It shows the popup. In that it contains Default review form (But I have modified the form).In my layout file I have hided the review tab which is present in the product page in
calalog_product_view.xml. But now, It shows following json error while loading the product page.
**Uncaught SyntaxError:** Unexpected token u in JSON at position 0 at JSON.parse (<anonymous>) at run (layout.js:164) at app.js:14 at main.js:31 at Object.execCb (require.js:1650) at Module.check (require.js:866) at Module.<anonymous> (require.js:1113) at require.js:132 at require.js:1156 at each (require.js:57) run @ layout.js:164 (anonymous) @ app.js:14 (anonymous) @ main.js:31 execCb @ require.js:1650 check @ require.js:866 (anonymous) @ require.js:1113 (anonymous) @ require.js:132 (anonymous) @ require.js:1156 each @ require.js:57 emit @ require.js:1155 check @ require.js:917 (anonymous) @ require.js:1113 (anonymous) @ require.js:132 (anonymous) @ require.js:1156 each @ require.js:57 emit @ require.js:1155 check @ require.js:917 enable @ require.js:1143 init @ require.js:774 (anonymous) @ require.js:991 (anonymous) @ require.js:132 (anonymous) @ mixins.js:106 execCb @ require.js:1650 check @ require.js:866 (anonymous) @ require.js:1113 (anonymous) @ require.js:132 (anonymous) @ require.js:1156 each @ require.js:57 emit @ require.js:1155 check @ require.js:917 enable @ require.js:1143 init @ require.js:774 callGetModule @ require.js:1170 completeLoad @ require.js:1544 onScriptLoad @ require.js:1671
Please provide the suggestion My custom layout file
<page layout="1column" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xsi:noNamespaceSchemaLocation="urn:magento:framework:View/Layout/etc/page_configuration.xsd"> <body> <referenceBlock name="reviews.tab" remove= "true"/> <referenceBlock name="product.info.review"> <action method="setTemplate"> <argument name="template" xsi:type="string">OX_ProductReview::review.phtml</argument> </action> <block class="Magento\Framework\View\Element\Template" name="custom.review.popup" template="XXX_YYYY::popup.phtml"> <block class="Magento\Review\Block\Form" name="custom.product.review.form" as="custom.review_form" template="XXX_YYYY::form.phtml"/> </block> </referenceBlock> </body> </page>
✓ Extra quality
ExtraProxies brings the best proxy quality for you with our private and reliable proxies
✓ Extra anonymity
Top level of anonymity and 100% safe proxies – this is what you get with every proxy package
✓ Extra speed
1,ooo mb/s proxy servers speed – we are way better than others – just enjoy our proxies!
USA proxy location
We offer premium quality USA private proxies – the most essential proxies you can ever want from USA
Our proxies have TOP level of anonymity + Elite quality, so you are always safe and secure with your proxies
Use your proxies as much as you want – we have no limits for data transfer and bandwidth, unlimited usage!
Superb fast proxy servers with 1,000 mb/s speed – sit back and enjoy your lightning fast private proxies!
99,9% servers uptime
Alive and working proxies all the time – we are taking care of our servers so you can use them without any problems
No usage restrictions
You have freedom to use your proxies with every software, browser or website you want without restrictions
Perfect for SEO
We are 100% friendly with all SEO tasks as well as internet marketing – feel the power with our proxies
Buy more proxies and get better price – we offer various proxy packages with great deals and discounts
We are working 24/7 to bring the best proxy experience for you – we are glad to help and assist you!