These are the two line after addAttribute which ben explain to add default: $attr = $setup->getAttribute('catalog_product', 'attribute_code'); $setup->updateAttribute('catalog_product',$attr['attribute_id'],'default_value', 'default_value1,default_value2,default_value3,default_value4');