How do I determine if the Include category in the navigation menu is set to NO?
include_in_menu is an attribute that you can use,
include_in_menu
if (!$category->getIncludeInMenu()) ...
It worked for me
$category->load(); //$category->getIncludeInMenu() returns 1 if set to yes, returns 0 if set to no if(!$category->getIncludeInMenu()) ...
Source: https://habr.com/ru/post/905111/More articles:How does the sizeof () function work for Structures in C? - c"ERROR - C stack overflow" in Haskell using Hugs - stack-overflowHow to properly observe the contentOffset property of my scrollView subclass? - iosMagento model does not load all data - magentoArrayList Index Outside - javaWhy the insertion of the list is not performed when a sufficient size is provided for the construction? - listReplacing stringgrid with listbox in Delphi - delphiHow to run code after calling Sytem.exit (0) in finally block - javaFix error in method declaration in form in Delphi - delphiHow to install certificate for verification on spring RestTemplate - springAll Articles