I can’t seem to find this in the docs or through google. So basically I’m just looking for the Javascript event that fires when an item is added to the cart. For some reason my default added to cart notification isn’t working.
EDIT:
So I’m thinking because I’m including the woocommerce.php file in my themes default folder as well as my woocommerce template overrides.
Read the source. From woocommerce-ajax.php (in the plugin’s root folder)
Javascript/Ajax add to cart
Non-AJAX: Requires Page Load
If you are not using AJAX then you are using the
woocommerce_add_to_cart_action()
from woocommerce-functions.php which runs on theinit
hook. It is a bit long, so I will just let you read it from the mentioned file. Basically it looks for an add-to-cart` query parameter (which should equal the product ID) and goes from there.