Jump to content

How Find Out Category Of Products


Andrii

Recommended Posts

Hi,

 

I suppose you want to access the category of the product in product-list.tpl ?

 

You can use $product.id_category_default to access the default category, for example:

<p>Product Default Category:{$product.id_category_default}</p>

 

Regards,

 

btc.dev

Link to comment
Share on other sites

  • 4 weeks later...
  • 2 weeks later...

Hi,

 

I suppose you want to access the category of the product in product-list.tpl ?

 

You can use $product.id_category_default to access the default category, for example:

<p>Product Default Category:{$product.id_category_default}</p>

 

Regards,

 

btc.dev

 

You have only no. ID of default categorie. Where do I get the name?

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...