I already design my site and add on the reviews part on the product page , but when someone give a feedback on specific product its shown on the other products reviews as well. How to make each product review separate from other products plz ?
this is my code
import wixData from “wix-data”; function futurecodeReviews(a, b, c, d, e, f, g, h, i, j, k) { function x(y) { $w(c).getProduct() .then((product) => { y = product; $w(d).setFilter(wixData.filter() .eq(e, y._id) ) .then(() => { $w(f).setFieldValue(e, y._id); if ($w(d).getCurrentItem()) { $w(b).expand(); } if ($w(d).getTotalCount() >= 20) { $w(g).expand(); } }); }) } $w.onReady( function () { $w(a).hide(); $w(b).collapse(); $w(g).collapse(); setInterval( function () { x(); }, 3500); $w(h).onClick((event, $w) => { $w(a).show(); }); $w(i).onChange(() => { $w(f).setFieldValue( j, Number($w(i).value) ); }); $w(f).onAfterSave(() => { $w(a).hide(); $w(d).refresh(); $w(b).expand(); }); $w(g).onClick(() => { $w(d).loadMore(); }); $w(k).onClick(() => { $w(a).hide(); }); });}futurecodeReviews(“#input1”, “#repeater1”, “#productPage1”, “#dataset1”, “product”, “#dataset1”, “#button2”, “#button1”, “#text158”, “rating”, “#button2”)//Free Licence by futurecode.More tools here : https://www.futurecoding.net