title: Custom add to cart button Shopify
body: <p>I am just trying to create an add to cart button to use on template and sections on my Shopify theme. Very simple. </p>
  
  <p>Here is my code:</p>
  
  <pre><code>&lt;form method="post" action="/cart/"&gt;
    &lt;input name="id" value="1402808270917" type="hidden" /&gt;
    &lt;input name="add" value="ORDER NOW" type="submit" /&gt;
  &lt;/form&gt;
  </code></pre>
  
  <p>Note: the <code>value</code> is the product id which I need to be able to hard code. </p>
  
  <p>I'm not getting any errors, it's just going to the cart page stating cart is empty. The weird thing is, if I have something in the cart already, it will add a duplicate of the product. </p>