Jump to content

Count of attributes color of an article


GPW3P

Recommended Posts

[SOLVED]

Hi me,

I anwsered myself !

It is easy when you know the way. With smarty you can use $colors which includes all colors of an article an use the function count to sum all its colors.

{$colors|count}

Maybe that will helps someone else.

Thanks me, bye

Edited by GPW3P (see edit history)
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...