Esempio n. 1
0
 /**
  * Redefine default price block
  * Set current customer to tax calculation
  */
 protected function _construct()
 {
     parent::_construct();
     $this->_block = 'adminhtml/catalog_product_price';
     $this->_useLinkForAsLowAs = false;
     $taxCalculation = Mage::getSingleton('tax/calculation');
     if (!$taxCalculation->getCustomer() && Mage::registry('current_customer')) {
         $taxCalculation->setCustomer(Mage::registry('current_customer'));
     }
 }
Esempio n. 2
0
 protected function _construct()
 {
     parent::_construct();
     $this->setTemplate('vk_fitment/catalog/product/grouped/partlist.phtml');
 }