Last active
January 2, 2016 14:59
-
-
Save willboudle/8320852 to your computer and use it in GitHub Desktop.
Uodate Magento Default attribute values
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| UPDATE `eav_attribute` SET `default_value` = 'container1' WHERE `eav_attribute`.`attribute_code`='options_container'; | |
| UPDATE `eav_attribute` SET `default_value` = '1' WHERE `eav_attribute`.`attribute_code`='is_active'; | |
| UPDATE `eav_attribute` SET `default_value` = '1' WHERE `eav_attribute`.`attribute_code`='is_anchor'; | |
| UPDATE `eav_attribute` SET `default_value` = '1' WHERE `eav_attribute`.`attribute_code`='status'; | |
| UPDATE `eav_attribute` SET `default_value` = '0' WHERE `eav_attribute`.`attribute_code`='weight'; | |
| UPDATE `eav_attribute` SET `default_value` = '2' WHERE `eav_attribute`.`attribute_code`='tax_class_id'; | |
| insert into core_config_data values ( null, 'default', 0, 'cataloginventory/item_options/is_in_stock', 1 ); | |
| insert into core_config_data values ( null, 'default', 0, 'cataloginventory/item_options/qty', 10 ); |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment