woocommerce_maybe_add_multiple_products_to_cart 2.0
function woocommerce_maybe_add_multiple_products_to_cart() { // Make sure WC is installed, and add-to-cart qauery arg exists, and contains at least one comma. if ( ! class_exists( ‘WC_Form_Handler’ ) || empty( $_REQUEST[‘add-to-cart’] ) || false…