public function getCacheTags() { if (!$this->_isCacheActive()) { return parent::getCacheTags(); } return array(Mage_Catalog_Model_Product::CACHE_TAG, Mage_Catalog_Model_Product::CACHE_TAG . "_" . $this->getProduct()->getId()); }
/** * Retrieve block cache tags * * @return array */ public function getCacheTags() { return array_merge(parent::getCacheTags(), array('POPUP_BLOCK')); }