nom Posted April 30, 2021 Share Posted April 30, 2021 I found this for CategoryLink by id. {$link->getCategoryLink(ID-HERE, $category->link_rewrite)|escape:'html':'UTF-8'} But how do I get the CategoryName by id? Tried finding this for several hours, so I truly hope someone can help here. Link to comment Share on other sites More sharing options...
Ress Posted March 3, 2022 Share Posted March 3, 2022 (edited) You can try: $category = new Category($id_category); $name = $category->getName(); Edited March 3, 2022 by Ress (see edit history) Link to comment Share on other sites More sharing options...
Recommended Posts
Create an account or sign in to comment
You need to be a member in order to leave a comment
Create an account
Sign up for a new account in our community. It's easy!
Register a new accountSign in
Already have an account? Sign in here.
Sign In Now