One Change Reverted
This commit is contained in:
parent
4edcdd4ba2
commit
9fa1e1c9a8
|
|
@ -27,7 +27,7 @@ class View extends AbstractProduct
|
||||||
|
|
||||||
if ($attribute->type == 'boolean') {
|
if ($attribute->type == 'boolean') {
|
||||||
$value = $value ? 'Yes' : 'No';
|
$value = $value ? 'Yes' : 'No';
|
||||||
} elseif ($value) {
|
} elseif($value) {
|
||||||
if ($attribute->type == 'select') {
|
if ($attribute->type == 'select') {
|
||||||
$attributeOption = $attributeOptionReposotory->find($value);
|
$attributeOption = $attributeOptionReposotory->find($value);
|
||||||
|
|
||||||
|
|
@ -37,8 +37,6 @@ class View extends AbstractProduct
|
||||||
if (! $value) {
|
if (! $value) {
|
||||||
continue;
|
continue;
|
||||||
}
|
}
|
||||||
} else {
|
|
||||||
continue;
|
|
||||||
}
|
}
|
||||||
} elseif ($attribute->type == 'multiselect' || $attribute->type == 'checkbox') {
|
} elseif ($attribute->type == 'multiselect' || $attribute->type == 'checkbox') {
|
||||||
$lables = [];
|
$lables = [];
|
||||||
|
|
|
||||||
Loading…
Reference in New Issue