Merge pull request #2201 from rahulshukla-webkul/development

Development
This commit is contained in:
Jitendra Singh 2020-01-29 17:08:53 +05:30 committed by GitHub
commit 217412a563
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with 1 additions and 1 deletions

View File

@ -471,7 +471,7 @@ class Configurable extends AbstractType
$data['attributes'][$attribute->code] = [
'attribute_name' => $attribute->name ? $attribute->name : $attribute->admin_name,
'option_id' => $option->id,
'option_label' => $option->label,
'option_label' => $option->label ? $option->label : $option->admin_name,
];
}