Skip to content

Instantly share code, notes, and snippets.

@bekapod
Created May 28, 2014 11:02
Show Gist options
  • Save bekapod/f204f3133192d366a309 to your computer and use it in GitHub Desktop.
Save bekapod/f204f3133192d366a309 to your computer and use it in GitHub Desktop.
MAGENTO: Make all categories 'Anchor Categories'
SELECT * FROM eav_attribute where attribute_code = 'is_anchor';
-- Then replace the ? in the following query with the attribute_id shown from the previous query and run.
UPDATE catalog_category_entity_int set value = 1 where attribute_id = ?;
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment