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.
2 parents 6e5cb9e + a0ca082 commit 893ef07Copy full SHA for 893ef07
app/code/Magento/ImportExport/Model/Import.php
@@ -279,7 +279,7 @@ public function getOperationResultMessages($validationResult)
279
*/
280
public static function getAttributeType(\Magento\Eav\Model\Entity\Attribute\AbstractAttribute $attribute)
281
{
282
- if ($attribute->usesSource()) {
+ if ($attribute->usesSource() && in_array($attribute->getFrontendInput(), array('select', 'multiselect'))) {
283
return $attribute->getFrontendInput() == 'multiselect' ? 'multiselect' : 'select';
284
} elseif ($attribute->isStatic()) {
285
return $attribute->getFrontendInput() == 'date' ? 'datetime' : 'varchar';
0 commit comments