Skip to content

Instantly share code, notes, and snippets.

@Schrank
Created November 20, 2013 16:43
Show Gist options
  • Save Schrank/7566494 to your computer and use it in GitHub Desktop.
Save Schrank/7566494 to your computer and use it in GitHub Desktop.
Change Attribute for all simple products associated to a configurable
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