mihdan
5/6/2015 - 9:33 PM

wc_add_to_cart

wc_add_to_cart

global $woocommerce;
$woocommerce->cart->add_to_cart($product_id);