We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent c307d25 commit b9d13e6Copy full SHA for b9d13e6
app/code/Magento/Catalog/Controller/Adminhtml/Product/Attribute/Validate.php
@@ -105,7 +105,7 @@ public function execute()
105
$attributeCode
106
);
107
108
- if ($attribute->getId() && !$attributeId || $attributeCode === 'product_type') {
+ if ($attribute->getId() && !$attributeId || $attributeCode === 'product_type' || $attributeCode === 'type_id') {
109
$message = strlen($this->getRequest()->getParam('attribute_code'))
110
? __('An attribute with this code already exists.')
111
: __('An attribute with the same code (%1) already exists.', $attributeCode);
0 commit comments