/**
  * 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();
 }
Example #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();
 }