protected function _toHtml() { if ($this->getStoreId()) { return parent::_toHtml(); } return ''; }
protected function _toHtml() { if (!Mage::getSingleton('adminhtml/quote')->getIsOldCustomer()) { return parent::_toHtml(); } return ''; }
/** * Prepare html output * * @return string */ protected function _toHtml() { $payment = $this->getQuote()->getPayment(); if (!$payment->getMethod() || !$payment->getMethodInstance() || $payment->getMethodInstance()->getIsDummy() || !$payment->getMethodInstance()->getIsCentinelValidationEnabled()) { return ''; } return parent::_toHtml(); }
/** * Prepare html output * * @return string */ protected function _toHtml() { $_item = $this->getItem(); if ($_item && $_item->getGwId()) { return parent::_toHtml(); } else { return false; } }
/** * Prepare validation and template parameters */ protected function _toHtml() { $payment = $this->getQuote()->getPayment(); if ($payment && ($method = $payment->getMethodInstance())) { if ($method->getIsCentinelValidationEnabled() && ($centinel = $method->getCentinelValidator())) { $this->setFrameUrl($centinel->getValidatePaymentDataUrl())->setContainerId('centinel_authenticate_iframe')->setMethodCode($method->getCode()); return parent::_toHtml(); } } return ''; }
protected function _toHtml() { return parent::_toHtml(); }