Skip to content

Commit

Permalink
Fix Rest Api - GET get /V1/configurable-products/{sku}/children not g…
Browse files Browse the repository at this point in the history
…iving ID in response
  • Loading branch information
Andrey K committed Jul 4, 2016
1 parent 3be18f3 commit d18efbe
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -72,7 +72,7 @@ public function getChildren($sku)
foreach ($child->getAttributes() as $attribute) {
$attrCode = $attribute->getAttributeCode();
$value = $child->getDataUsingMethod($attrCode) ?: $child->getData($attrCode);
if (null !== $value && $attrCode != 'entity_id') {
if (null !== $value) {
$attributes[$attrCode] = $value;
}
}
Expand Down

0 comments on commit d18efbe

Please sign in to comment.