I am not able to create new post - so posting my question here :
We have a requirement to limit the number of items that can be purchased in a specific category (e.g. customers can only purchase 2 items from the deals category). We can calculate this using the “wix-store cart onChange” event and display a lightbox requesting the customer to edit/correct the cart. However, we also want to disable the checkout button until the cart is updated. We have not found a way to do this in Wix VELO. Another option would be to display a message when the checkout button is pressed, if there is an error in the cart. However, we have not been able to find documentation on how to capture the click event of the checkout button or how to disable it in VELO. Can you provide assistance on how to achieve this?