title: Woocommerce Add to cart link Ajax enabled in other post or pages
body: <p>In Woocommerce, I Would like co create add to cart link on a simple page of WordPress website <em>(not product page)</em>. </p>
  
  <p>So I have tried this code <em>(Where 123 is the product ID)</em>:</p>
  
  <pre><code>&lt;a href="http://example.com/cart/?add-to-cart=123"&gt;Buy&lt;/a&gt;
  </code></pre>
  
  <p>I have enabled AJAX add to cart on archives pages Woocommerce option setting.</p>
  
  <p>But It doesn't work and Ajax functionality is not enabled on my custom Add-to-cart link.</p>
  
  <p>How to enable ajax add-to-cart on a custom link <em>(in other pages than woocommerce ones)</em>?</p>