Skip to content

Unset additional product data if value is NULL || false || ' '  #1300

Open
@kkrieger85

Description

@kkrieger85

Unset attribute if not set instead of settings the attributes value to "no".

If "no" should be shown, then attribute should be used with yes/no instead of letting the attributes value empty.
This leads to displaying empty product attributes in attribute tab on product detail page

Ref:

} elseif (is_null($value) || $value === false || $value === '') {

Metadata

Metadata

Assignees

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions