Events.js previously firing, now it is not

This is what I have now and I still don’t see the log in the console. The function in events.js is not firing.

This is also on a unpaid wix site for testing purposes. Does that make a difference? I hope so not.


import wixData from 'wix-data';
import wixStores from 'wix-stores';
import wixStoresBackend from 'wix-stores-backend';

export function wixStores_onCartCreated(event) {
 let total = event.totals.total;
  console.log("cart event fired");
}