GPW3P Posted October 30, 2019 Share Posted October 30, 2019 Hi, I am searching the way to count the number of attributes color of an article. Is anybody know how can I do this, please ? Regards Link to comment Share on other sites More sharing options...
GPW3P Posted November 6, 2019 Author Share Posted November 6, 2019 (edited) [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 November 6, 2019 by GPW3P (see edit history) Link to comment Share on other sites More sharing options...
Recommended Posts
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 accountSign in
Already have an account? Sign in here.
Sign In Now