Пример #1
0
 public function __construct()
 {
     parent::__construct();
     if ($this->getRequest()->getParam('id')) {
         $product = Mage::getModel('catalog/product')->load($this->getRequest()->getParam('id'));
         if (in_array($product->getTypeId(), array('configurable', 'bundle', 'grouped'))) {
             return;
         }
     } else {
         $productType = $this->getRequest()->getParam('type');
         if (in_array($productType, array('configurable', 'bundle', 'grouped'))) {
             return;
         }
     }
     $this->setTemplate('inventoryplus/catalog/product/tab/inventory.phtml');
 }
 /**
  * Constructor.
  */
 public function __construct()
 {
     parent::__construct();
     $this->setTemplate('realtimedespatch/catalog/product/tab/inventory.phtml');
 }
Пример #3
0
 public function __construct()
 {
     parent::__construct();
     //$this->getStockItem()->setStockId($this->getRequest()->getParam('store'));
     $this->setTemplate('catalog/product/tab/inventory.phtml');
 }
Пример #4
0
 public function __construct()
 {
     parent::__construct();
     $this->setTemplate('adm/warehouse/catalog/product/tab/inventory.phtml');
 }