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
1 months agoFlo
2 months agoSelene
5 days agoPortia
13 days agoNatalya
19 days agoMira
19 days agoLashandra
23 days agoSanda
1 months agoJuan
2 months agoLeonor
2 months agoRuby
19 days agoCornell
23 days agoShanda
29 days agoAshlee
1 months agoRoy
2 months agoNieves
2 months agoDelfina
3 months ago