Is there a way to query the shopping cart by wix code?
For example, I’d like get the SKU of each item in the cart and display a text message if there is a SKU=x, or another example if the cart value is > 100 → do something.
Is there a way to register to a call back in case the payment stage ended? For example I want to insert to the DB some information in such a case.
Is there a way to register to a call back once “Add to Cart” button is clicked? If so, can I get the item added to the cart in the callback?
Hi Amir,
Currently, there’s no integration of Wix Code with Wix Stores. However, it’s on our backlog. I recommend following the product updates forum category to stay tuned.
Any chance of an example demonstrating the documentation? I think we’ve probably all read it, and looked at little code snippets that are supposed to work but don’t.
The backend event of " wixStores_onNewOrder " does not work for the wix stores. I do save to an “events_log” table when each event occurs to track down and document issue of why not working.
Worked fine on our test site now that it’s live it fails. It either:
a) fires event before the order is saved in the “Stores/Orders” collection so getting the order out of the collection returns no rows
OR
b) The event is fired several hours (have examples of 5 hours) after the original purchase