I am trying to validate the content of a cart before allowing the order to be placed. This seems to be a trivial task using common hooks like add_action( \'woocommerce
add_action( \'woocommerce