/** * Render order info as hidden meta data if the module is enabled for the * current store. * * @return string */ protected function _toHtml() { if (!Mage::helper('nosto_tagging')->isModuleEnabled() || !Mage::helper('nosto_tagging/account')->existsAndIsConnected()) { return ''; } return parent::_toHtml(); }
/** * Render order info as hidden meta data if the module is enabled for the * current store. * * @return string */ protected function _toHtml() { /** @var Nosto_Tagging_Helper_Account $helper */ $helper = Mage::helper('nosto_tagging/account'); if (!Mage::helper('nosto_tagging')->isModuleEnabled() || !$helper->existsAndIsConnected()) { return ''; } return parent::_toHtml(); }
public function _construct() { parent::_construct(); $this->setTemplate('wallet/lightbox.phtml'); }