You have created a module MyCompany_MyModule that adds a custom category attribute. The attribute is not showing up on the Category Edit Page in the Admin. How do you correct this?
I got this! The answer is definitely C. Setting the attribute to be visible is the key here. Otherwise, it's just gonna be a ghost in the admin panel, you know?
Haha, this reminds me of that time I spent hours debugging a similar issue. Turns out I had the right idea, but I forgot to call setIsVisible(1) - rookie mistake!
Hmm, I'm not sure if that's the only step. Didn't we also need to call setIsSystem(0) in the data patch? Just creating the field in the layout file might not be enough.
Wow, this is a tricky one! I think the answer is D - defining the field in the catalog_category_edit.xml layout file. You gotta make sure that Magento knows where to display your custom attribute.
I'm not sure, but I think option D) Define the field in MyCompany MyModule/view/adminhtml/layout/catalog_category_edit.xml could also be a valid solution
Corinne
27 days agoFlo
1 months agoNatalya
3 days agoMira
3 days agoLashandra
7 days agoSanda
20 days agoJuan
1 months agoLeonor
1 months agoRuby
3 days agoCornell
7 days agoShanda
13 days agoAshlee
15 days agoRoy
2 months agoNieves
2 months agoDelfina
2 months ago