title: In OpenCart, how to get current product id, name and image?
body: <p>In opencart, i need to get these infos about the current product:</p>
  
  <ul>
  <li>Id</li>
  <li>Name</li>
  <li>Image</li>
  </ul>
  
  <p>In magento, I only do this, but in opencart, i just don't know:</p>
  
  <pre><code>&lt;?php if($_product = Mage::registry('current_product')): ?&gt;
  
    &lt;?php echo $_product-&gt;getId() ?&gt;
    &lt;?php echo $_product-&gt;getName() ?&gt;
    &lt;?php echo $_product-&gt;getImageUrl() ?&gt;
  
  &lt;?php endif; ?&gt;
  </code></pre>