Hi Wix,
I need to add some functionality on the addToCart event on the product page. It’s not a custom product page, but the Store Product Page. Can I do this?
I tried to add a new Add To Cart button to the product page, but it has only following events in Properties->Events list: onViewportEnter, onViewportLeave, onMouseIn, onMouseOut. Why do I have no onClick event listed there?
When you add an event handler to an element using the Properties panel, Corvid registers and wires a statically bound event handler to your element. You can also manually add dynamic event handlers to your elements. These handlers can be viewed in the autocomplete values for the elements that have them. When you add a dynamic event handler to an element it is not displayed in the list of events for that element in the Properties panel.
Also, note that this forum is for issues with Wix Code, you are using Wix Stores so you should really be going to Wix Support for more help with the Wix app.