Allow unchecking all checkboxes in an attribute
This commit is contained in:
parent
814eeafa6a
commit
f5a729f812
|
|
@ -227,7 +227,7 @@ class ProductController extends Controller
|
|||
|
||||
if (count($customAttributes)) {
|
||||
foreach ($customAttributes as $attribute) {
|
||||
if ($attribute->type == 'multiselect') {
|
||||
if ($attribute->type == 'multiselect' || $attribute->type == 'checkbox') {
|
||||
array_push($multiselectAttributeCodes, $attribute->code);
|
||||
}
|
||||
}
|
||||
|
|
|
|||
Loading…
Reference in New Issue