/** * Checks to see if the price can be shown. * * @return boolean */ protected function _canShowPrice() { if (!$this->oB2BHelper->isExtensionActive()) { return true; } return $this->oB2BCustomerHelper->isCustomerLoggedIn(); }
/** * Check if the extension is active * * @return bool */ protected function isExtensionActive() { return $this->oB2BHelper->isExtensionActive(); }