Default attribute value for all product in magento
问题 I want to set a default value of an attribute for all product. 回答1: I had same problem before,when i added 11096 product(downloadable products) in my store then client told me to add new attributes in product so i create 1 attribute (Type is Yes/No) and set to attribute set. Now my problem is how can i edit all product and set that attribute yes or not.if i not set then value is null so i wrote few line code. Please check this code may be it'll helpful to you. $ProductId = Mage: