Merge pull request #4041 from devansh-webkul/master

Continue Added #4037
This commit is contained in:
Jitendra Singh 2020-10-09 13:43:42 +05:30 committed by GitHub
commit e6a113f604
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with 3 additions and 1 deletions

View File

@ -27,7 +27,7 @@ class View extends AbstractProduct
if ($attribute->type == 'boolean') {
$value = $value ? 'Yes' : 'No';
} elseif($value) {
} elseif ($value) {
if ($attribute->type == 'select') {
$attributeOption = $attributeOptionReposotory->find($value);
@ -37,6 +37,8 @@ class View extends AbstractProduct
if (! $value) {
continue;
}
} else {
continue;
}
} elseif ($attribute->type == 'multiselect' || $attribute->type == 'checkbox') {
$lables = [];