WordPress как на ладони
Недорогой хостинг для сайтов на WordPress: wordpress.jino.ru
событие не описано

woocommerce_(producttype)_add_to_cart хук-событие . WC 1.0

Trigger the single product add to cart action.

Использование

add_action( 'woocommerce_(producttype)_add_to_cart', 'action_function_name_5866' );
function action_function_name_5866(){
	// action...
}

Где вызывается хук

woocommerce_template_single_add_to_cart()
woocommerce_(producttype)_add_to_cart
woocommerce/includes/wc-template-functions.php 1505
do_action( 'woocommerce_' . $product->get_type() . '_add_to_cart' );

Где используется хук (в ядре WC)

includes/wc-cart-functions.php 27
add_filter( 'woocommerce_add_to_cart_validation', 'wc_protected_product_add_to_cart', 10, 2 );
includes/wc-template-hooks.php 175
add_action( 'woocommerce_single_product_summary', 'woocommerce_template_single_add_to_cart', 30 );
includes/wc-template-hooks.php 176
add_action( 'woocommerce_simple_add_to_cart', 'woocommerce_simple_add_to_cart', 30 );
includes/wc-template-hooks.php 177
add_action( 'woocommerce_grouped_add_to_cart', 'woocommerce_grouped_add_to_cart', 30 );
includes/wc-template-hooks.php 178
add_action( 'woocommerce_variable_add_to_cart', 'woocommerce_variable_add_to_cart', 30 );
includes/wc-template-hooks.php 179
add_action( 'woocommerce_external_add_to_cart', 'woocommerce_external_add_to_cart', 30 );
includes/wc-template-hooks.php 96
add_action( 'woocommerce_after_shop_loop_item', 'woocommerce_template_loop_add_to_cart', 10 );