Example #1
0
 public function testGetPriceBlockTemplate()
 {
     $this->assertNull($this->_block->getPriceBlockTemplate());
     $this->_block->setData('price_block_template', 'test');
     $this->assertEquals('test', $this->_block->getPriceBlockTemplate());
 }
 /**
  * {@inheritdoc}
  */
 public function getPriceBlockTemplate()
 {
     $pluginInfo = $this->pluginList->getNext($this->subjectType, 'getPriceBlockTemplate');
     if (!$pluginInfo) {
         return parent::getPriceBlockTemplate();
     } else {
         return $this->___callPlugins('getPriceBlockTemplate', func_get_args(), $pluginInfo);
     }
 }