diff --git a/Plugin/CreateMissingAttributeOptionPlugin.php b/Plugin/CreateMissingAttributeOptionPlugin.php index 143df60..45582e0 100644 --- a/Plugin/CreateMissingAttributeOptionPlugin.php +++ b/Plugin/CreateMissingAttributeOptionPlugin.php @@ -114,7 +114,7 @@ public function findAttributeOptionByLabel($attributeCode, $label) { $attributeOptionList = $this->attributeOptionManagementInterface->getItems($attributeCode); foreach ($attributeOptionList as $attributeOptionInterface) { - if (strcmp($attributeOptionInterface->getLabel(), $label) === 0) { + if (strcasecmp($attributeOptionInterface->getLabel(), $label) === 0) { return $attributeOptionInterface; } }