I have looked over internet but can't find a solution to get detail in my controller or block file i have tried

  • Registry
  • Tried get id of category from param
  • Also tried from Magento\Catalog\Model\Category by injecting it.
  • you mean get it using controller? – fmsthird Mar 21 at 8:36
  • yes get in my controller i am not using phtml file i am redirecting it to another ui form where i need that detail. – Asad Ullah Mar 21 at 8:53
  • do you want to get specific category with category ID? – sudo55 Mar 21 at 9:25
  • yes specific category that I selected like "women" i want complete detail of that category – Asad Ullah Mar 21 at 10:28

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service, privacy policy and cookie policy

Browse other questions tagged or ask your own question.