You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I'm trying to get "Product Categories" I added to the new menu. So, I created a menu and named it "newnavmenu". Instead of adding Pages, I want to add "Product categories" that I created in WooCommerce Categories.
Now, when I loop through items, the instance() method returns null and there is not specific information about menu items. I can see basic information about newnavmenu itself but nothing related to "Product categories" items I added before.
Steps To Reproduce:
So basically I do exactly what I found in documentation:
Description:
I'm trying to get "Product Categories" I added to the new menu. So, I created a menu and named it "
newnavmenu
". Instead of adding Pages, I want to add "Product categories" that I created in WooCommerce Categories.Now, when I loop through items, the
instance()
method returnsnull
and there is not specific information about menu items. I can see basic information aboutnewnavmenu
itself but nothing related to "Product categories" items I added before.Steps To Reproduce:
So basically I do exactly what I found in documentation:
And I try to loop through items in blade file:
Even if I return
$item
withoutinsance()
method, none of categories is available:How do I return "Product Categories" I added to new created menu? Anyone can help please?
The text was updated successfully, but these errors were encountered: