In opencart, i need to get these infos about the current product:
In magento, I only do this, but in opencart, i just don't know:
<?php if($_product = Mage::registry('current_product')): ?>
<?php echo $_product->getId() ?>
<?php echo $_product->getName() ?>
<?php echo $_product->getImageUrl() ?>
<?php endif; ?>
I endup using:
<?php echo $product_id; ?> //returns product id
<?php echo $heading_title; ?> //returns product name
<?php echo $popup; ?> //returns product image