Guys, the excitement is on the air, we were waiting for this for years. The potential of Wix Code is unlimited (…or maybe not?).
WIX has powerful tools like STORE, BOOKING, CONTACTS, Etc., if you could incorporate EVENTS HANDLING on these tools it would be a huge success.
In my case, the inability to capture and manipulate data on the fly while somebody is placing an order in my Store is making me lose clients. For example: During a sale (not after), I need to search the customer’s purchase history, do some calculations, apply “personalized” discounts, block some products, limit quantity, etc. A product placed 5 minutes later would be cheaper than the one before or simply not available (for that particular Customer/Moment)
Accessing the Wix Store data (with code) once the sale is completed is a must, as well as capturing what the customer is selecting while the sale is in progress.
When an order is in progress I would like to capture the Customer ID, Selected Product(s), Price, Quantity, Shipping info, etc., basically all of the data associated with the sale in progress, not only to perform validations and change it, but also to store it in custom database.
Thank you once more for releasing WIX CODE!
Huge Fan of Wix here.