Jump to content

Get default category name in featuredhomeproducts module


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.barracudascollection.com/prestashop/

Share this post


Link to post
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
 Share

×
×
  • Create New...

Important Information

Cookies ensure the smooth running of our services. Using these, you accept the use of cookies. Learn More