/** * Retrieve value element type * Rewrite for define value element type for Product Type attribute * * @return string */ public function getValueElementType() { $attributeCode = $this->getAttribute(); if ($attributeCode == 'type_id') { return 'select'; } return parent::getValueElementType(); }