How to get categoryName, categoryId in ProductPage?

Saturday, August 8, 2020 2:11:23 PM
  • Posted: Thursday, July 30, 2020 4:04 AM
  • 31
Hi everyone!
If i have productId, how to get categoryName, categoryId?
0
  • Posted: Thursday, July 30, 2020 7:16 AM
  • Team
  • 75
Hi,

If you have product id try to use ProductService and get all information about product by getProductById (then you will find CategoryId).
To get all information about category please use CategoryService.
1
  • Posted: Thursday, July 30, 2020 1:19 PM
  • 31
Great! Thanks!
0
back to top
Filters