Jump to content

Default category name


Recommended Posts

Hello, it is my first Prestashop site.

I started from a premium theme and i'm trying to adapt it.

I'm in trouble in home page: I need to add product's default category name in the products list in homefeatured.tpl

 

I tried to change

$product.name|truncate:28:'...'|escape:'htmlall':'UTF-8'}

width

$product->id_category_default

 

but it returns empty.

 

Could you please help me?

Thanks!

 

you can see what I'm doing here

http://www.barracuda...com/prestashop/

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