Created events.js file in backend section with following code and don't see log message in console display when I add item to the cart? Is there something else that needs to be done?
import wixStores from 'wix-stores-backend'; export function wixStores_onCartCreated(event) { let total = event.totals.total; console.log("Event Fired"); }
The issue was addressed in the following thread:
https://www.wix.com/corvid/forum/community-discussion/how-setup-the-oncartcreated-events-wix-stores-backend
Locking this one.
Doron.