1

Here is my Code

 public function checkCondition()
  {
      $categoryId = $this->getRequest()->getParam('id');
     $ruleColl = $this->customConditionModel->create()->getCollection();
     foreach ($ruleColl as $ruleKey => $ruleVal) {
        $CatData = $this->categoryFactory->create()->load($categoryId);
        $Data[] = $ruleVal->getConditions()->validate($CatData);
     }
print_r($Data);die();
}

it gives blank value!!!!

0

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service and acknowledge you have read our privacy policy.