isEnabled() ? 'Olegnax_InfiniteScroll::rewards-highlight.phtml' : 'Amasty_Rewards::catalog/highlight-category.phtml'; } /** * @return bool */ public function isEnabled() { return Type::TYPE_DISABLED != $this->getModuleConfig('general/type'); } }