Skip to content

Magento2 Set Anchor to YES in all Categories

I am assuming you've PHPMYADMIN , not going in detail as to how you install that and all that crap First identify the attribute id of the isanchor attribute: SELECT FROM eavattribute where attributecode =…

Sohaib Khan1 min read
Magento2 Set Anchor to YES in all Categories — editorial illustration

I am assuming you've PHPMYADMIN , not going in detail as to how you install that and all that crap First identify the attribute id of the is_anchor attribute:

SQL1 line
SELECT * FROM eav_attribute where attribute_code = 'is_anchor';

I get attribute 54 as my query not sure what you will get as that's all depends on your environment Now let's run a Query to update all category to Anchor YES

SQL1 line
UPDATE catalog_category_entity_int set value = 1 where attribute_id = 54;

TADA !!!!!!

Was this worth your time?

Continue reading

Full archive