In this example, we create an interactive quiz using a multi-state box with repeaters. We check quiz answers against a collection to generate personalized product recommendations, then use a repeater to display the recommended products from the Products collection.
The code in this file retrieves the stored responses, finds which products to recommend to the customer, and retrieves and displays the data for those products.
In this file, we:
Retrieve the keywords array containing the customer’s responses from Wix Storage.
Use Wix Data to find the products to recommend, whose keywords in the Products Keywords collection include all the responses in the keywords array.
Retrieve the data of those products from the Products collection.
Display some of the products and their details using a repeater.
Join the Wix Studio community on Discord, where experienced developers and fellow creators come together to share tips, troubleshoot issues, and collaborate.
Building a coded solution on your own can be challenging. Let an experienced Wix developer build it for you, so you can keep working on your site or business.
Visit the Wix Marketplace to find a trusted developer.