Magento – How to set a default value for a attribute to all products

attributesdefault valuesmagento-1.9

I have create an attribute "Brand Name" from Catalog > Attribute > Manage Attribute. I have only one brand name so i want to set that name in "Brand Name" attribute for all the products. How can i set it, please tell me.
Thank You.

Best Answer

You can do it by writing php or sql code. Or, you can do it in Admin also:

Go to Catalog > Manage Products, select all products and in the right you will see a select field labeled Actions. Select Update Attributes option and you will see a page that opens - all attributes a product has. Then, you change "Brand Name" attribute to desired value and save.

Tell me if there are any problems.