One simple tweak I make on many of my Woocommerce based websites is to enable the AJAX add to cart functionality. In many cases, having the user directed to a cart page isn’t ideal for your shop, and a hard reload to the same page is just silly. Someone in the Themeco community asked about how to do this, so I’m sharing the code I use. It can be applied to any site with any theme that doesn’t have this built in already, but my code here has the added perk of including the X/Pro “Added to Cart” overlay. Continuity is good UX, afterall.
Please note this only works on simple type products.
The second file is your PHP code that can go directly into functions.php in your child theme.
Hope that helps a few of you out, feel free to drop a comment below if needed!