Jump to content

Get product's color palettes public name (in product.tpl)


rob84

Recommended Posts

Hello. I would like to show the public name of the color palette selected for a product, in product.tpl template.

 

I can only get the id_color_default with

{$product->id_color_default}

which correspond to id_attribute_group in DB (ps_attribute_group_lang). How to get the public name too ?

 

Thanks.

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