Question:
How can I access the collection/dataset created when a checkout form is completed from purchasing a ticket for an event?
Product:
WIX Studio - Events- checkout form
What are you trying to achieve:
I have a checkout form at the end of event ticket purchase. The data collected from the form needs to be actioned upon and access for other pages.
What have you already tried:
I have reviewed the WIX studio options. Looked through the WIX support documentation. Searched google and asked GPT.
You can use link the form to a database collection: In the Wix Editor, connect your checkout form to a collection in the Content Manager. This will automatically store the submitted data (e.g., name, email, ticket type) in the collection.
Use Wix Code (Velo): Once the data is stored, you can retrieve it using Velo by Wix. Here’s a simple example of how to query the collection:
import wixData from ‘wix-data’;
wixData.query(‘EventTickets’) // Use your collection name here
.find()
.then(results => {
console.log(results.items); // Do something with the form data
});
The collection is a wix prebuilt form that is created when building out an Event from wix studio. I can not locate anywhere this collection is accessible… I can not find where I can make my own collection and associate the input fields.
Velo isn’t useful at the moment because I don’t know the name of the collection Wix is building