title: Display magento products by category ID
body: <p>I need to know how can I display products in a page like (cart, below total) only few products by ID. Eg: products with id 2,3,4 and 5. </p>
  
  <pre><code>&lt;div class="freeProducts voucher code"&gt;
      &lt;?php
  
      $categoryid = 64;
  
      $category = new Mage_Catalog_Model_Category();
      $category-&gt;load($categoryid);
      $collection = $category-&gt;getProductCollection();
      $collection-&gt;addAttributeToSelect('*');
  
      foreach ($collection as $_product) { ?&gt;
  
      &lt;a href="&lt;?php echo $_product-&gt;getProductUrl() ?&gt;"&gt;&lt;img src="&lt;?php echo $this-&gt;helper('catalog/image')-&gt;init($_product, 'small_image')-&gt;resize(200); ?&gt;" width="200" height="200" alt="" /&gt;&lt;/a&gt; &lt;a href="&lt;?php echo $_product-&gt;getProductUrl(); ?&gt;"&gt;&lt;?php echo $_product-&gt;getName(); ?&gt;&lt;/a&gt;
  
      &lt;?php } ?&gt;
  &lt;/div&gt;
  </code></pre>
  
  <p>At this moment I can see the image for each product, and the title. I need to display the ADD TO CART and price. </p>
  
  <p>Anyone can help please?</p>