Jump to content

How To Get Category Id For Product?


Recommended Posts

Hi there,


I got a problem, while trying to get category id (not default) for current product on product page. How can I do it?

Also I'd like to get parent category for the product (e.g. Categories (id 2) -> Parent Category (id 3) -> Current Category (id 4)).


PS version

Link to comment
Share on other sites

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 account

Sign in

Already have an account? Sign in here.

Sign In Now
  • Create New...