Using Drupal Commerce, how do you render the "add to cart" button?
The product reference itself renders as the button. In your product display content type, make sure the product reference has the "Add to Cart form" format, then render it thus:

&lt;?php print render($content['field_product']); ?&gt;