I have a client who wants to trigger a lightbox when the visitor clicks Add to Cart, but I can't find an event handler for the Wix Store native Add to Cart Button.
I know this can easily be achieved by building a custom product page and adding a custom Add to Cart button there. However, this site & store is already well established and I'm trying to find the least invasive solution.
Hi Neff,
I was able to find a great example where you can see the code and an explanation on how to accomplish what you are looking for here. In the example they use the Wix Window API and the Wix Stores API.
If you do not want to use Corvid, you can add a standalone add to cart button and assign a product to it. The button will trigger a light box. For information on how to do this, click here.
Best regards,
Edward | Corvid Team