Crumpled Fabric

0

Add Comment Section to WIX Dynamic Page🔥

Click URL to copy

Apr 10, 2022

1 min read

WIX Ideas Team

Tags: wix comments Comment section User Interaction Fieldkey WIX Data Velo by WIX
“Learn as if you will live forever, live like you will die tomorrow.” — Mahatma Gandhi

Ever wanted to collect user information through a comment area but can't? Then this tutorial is for you.


I will briefly list the steps I followed to make this work from an already existing tutorial from WIX Examples.


  1. Visited the WIX example and clicked on "Edit Now"

  2. Navigated to the "Product Page" and copied all comment sections from the strip into my website's dynamic page as it is.

  3. Enabled the "Dev Mode" on the example template and copied the code as it is.

  4. Pasted the code from the example template into my website's dynamic page code section.

  5. Opened the lightbox section (Review Box) from the example template and copied the box element to my website.

  6. Opened the code panel section from the lightbox on the example template and copied the code to my lightbox code section.

  7. Created two database collections with exactly the same fields and fieldkeys

  8. review-states - To store number of ratings, recommendations

  9. reviews - To store total number of reviews for each item

  10. Connected all elements to dataset

  11. Adjusted one line of code


FROM THIS

product = await $w('#productPage1').getProduct();


TO THIS

product = await $w('#dynamicDataset').getCurrentItem();




📺 WATCH THE VIDEO

COPY CODE BELOW 👇🏽

Code



Leave a comment

Write a comment

Thanks for leaving a comment🎉

Walter

Walter

8/8/22

More Details? Watch video

Hi, you can click here to watch the video https://www.youtube.com/watch?v=9bx7-nBeZ5c

Walter

Walter

7/11/22

For you

Walter Odibi

Walter Odibi

4/18/22

Awesome Feature

This tutorial shows you how to display views on your Wix repeater.

📺WATCH VIDEO HERE https://www.youtube.com/watch?v=Iz7SdaCSdXg

Walter Odibi

Walter Odibi

4/18/22

Amazing tutorial

This amazing tutorial will show you how to a comment section to your WIX dynamic page.

📺WATCH VIDEO HERE https://www.youtube.com/watch?v=f8-vJQFNZ_c

Walter Odibi

Walter Odibi

4/10/22

Great Feature🎉

This amazing tutorial will show you how to add a visitor view counter to your WIX dynamic page.

🚩MORE TUTORIALS https://www.wixgenius.com/wix-tutorials

LOAD MORE 🎉

RELATED TUTORIALS 🚀

Load More Pagination Interaction

Load More Pagination Interaction

Adding a Custom Contact Form in WIX + Email Notification

Adding a Custom Contact Form in WIX + Email Notification

Add your custom contact form to your website with email automation.

Sort by Most Popular

Sort by Most Popular

Sort your repeater by the highest number of people who viewed your dynamic item.