How are the product options validated on the «Add to Cart» button click on a frontend product view?