right now if a user does not pick the required variations and clicks the add to cart button they are allowed to, but then quickly shown an error asking them to select all options, would be slightly better ux if the users was not allowed to click the “add to cart button”
how would you advise to do this (javascript code you can give me)