Created
November 20, 2013 16:43
-
-
Save Schrank/7566494 to your computer and use it in GitHub Desktop.
Change Attribute for all simple products associated to a configurable
This file contains 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 | |
catalog_product_entity_int | |
SET | |
value = 1 -- new value | |
WHERE | |
attribute_id = 85 AND -- attribute_id you want to change | |
entity_id IN ( | |
SELECT DISTINCT product_id FROM catalog_product_super_link | |
); |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment