/** * BN code getter * * @param string $countryCode ISO 3166-1 */ public function getBuildNotationCode($countryCode = null) { parent::getBuildNotationCode($countryCode); if (Mage::helper('iwdall')->isEnterprise()) { return 'IWD_SI_MagentoEE_WPS'; // enterprise } else { return 'IWD_SI_MagentoCE_WPS'; // community } }
/** * BN code getter * override method * * @param string $countryCode ISO 3166-1 */ public function getBuildNotationCode($countryCode = null) { if ($this->isMageEnterprise()) { $newBnCode = 'Magestore_SI_MagentoEE'; } else { $newBnCode = 'Magestore_SI_MagentoCE'; } $bnCode = parent::getBuildNotationCode($countryCode); if (class_exists("Magestore_Onestepcheckout_Helper_Data") && Mage::getStoreConfig('onestepcheckout/general/active')) { return $newBnCode; } else { return $bnCode; } }
/** * BN code getter * * @return string */ public function getBuildNotationCode() { return $this->_config->getBuildNotationCode(); }
/** * BN code getter * * @param string $countryCode ISO 3166-1 */ public function getBuildNotationCode($countryCode = null) { parent::getBuildNotationCode($countryCode); return 'IWD_SI_Other_OnePage'; }
/** * BN code getter * * @param string $countryCode ISO 3166-1 */ public function getBuildNotationCode($countryCode = null) { parent::getBuildNotationCode($countryCode); return 'IWD_SI_MagentoCE_WPS'; // community }