/** * Check if widget is visible * * @return boolean */ protected function isVisible() { return parent::isVisible() && \XLite\Module\CDev\XPaymentsConnector\Core\Settings::hasPaymentMethods(); }
/** * Check - is payment configurations imported early or not * * @return boolean */ public function hasPaymentMethods() { return $this->settings->hasPaymentMethods(); }