/** * Check ACL permissions * * @return boolean */ public function checkACL() { return parent::checkACL() && ($this->getProductClass() || !\XLite\Core\Request::getInstance()->product_class_id); }
/** * Check ACL permissions * * @return boolean */ public function checkACL() { return parent::checkACL() && $this->getProductClass(); }