title: Woocommerce - Product Page - How to create AJAX on "Add To Cart" button?
body: <p>I want to make an "Add To Cart" button on a product page that would work with AJAX. How can I do it? When I add to cart on a product page - it refreshes the page, how can I make it work by AJAX?</p>
  
  <p>The "Add to cart" button on "Quick View" on archive works by ajax - and it's great, but how can I do the same on product page?</p>
  
  <p>I want to click on "Take me Home" on the product page which would then
   add the product with the selected attributes to my cart by ajax and will open that cart (like when you hover onto the bag image on menu) and shakes the bag image.</p>