예제 #1
0
 /**
  * Check if current page is accessible
  *
  * @return boolean
  */
 public function checkAccess()
 {
     return parent::checkAccess() && $this->getProductVariant() && $this->getPages();
 }
예제 #2
0
 /**
  * Check if current page is accessible
  *
  * @return boolean
  */
 public function checkAccess()
 {
     return parent::checkAccess() && ($this->getProductClass() || !\XLite\Core\Request::getInstance()->product_class_id);
 }