Posted By

nico65 on 05/11/11


Tagged

magento producttype


Versions (?)

magento productType == "configurable" view.phtml


 / Published in: PHP
 

  1. <?php
  2.  
  3. $product = Mage::getModel('catalog/product');
  4.  
  5. $productType = $product->getTypeId();
  6.  
  7. if($productType == "configurable") {
  8. echo $this->getLayout()->getBlock('product.info.configurable')->toHtml();
  9. } ?>

Report this snippet  

You need to login to post a comment.