Use catalog/product/details:before_add_cart hook (requires 07313b0 or greater)