I am developing a shop based on Wordpress WooCommerce. I use ajax to make calls for data. But i'm doing it with my own functions in function.php file via wp-admin/admin-ajax.php.
Yesterday I have found in woocommerce class WC_AJAX. My Question is how to enable events from that class, and how to call them from js.