Is it possible to set as a trigger for a lightbox the default add to cart button?
Thank you!
Hi Daniel,
It is not possible to set the add to cart button as a trigger. No elements native to the product page can be interacted with using code.
You could do this by using the onCartCreated( ) stores backend event then call it in front end and use it to trigger the lightbox to open
Another option is building your own store, just not with Wix Stores. You could create a database collection for your products and some dynamic pages to display the products. You could then add a button that triggers a lightbox to open.
Hope this helps!
Dara | Corvid Team