コード例 #1
0
 /**
  * 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();
 }
コード例 #2
0
 /**
  * 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();
 }
コード例 #3
0
 public function _construct()
 {
     parent::_construct();
     $this->setTemplate('wallet/lightbox.phtml');
 }