Page 1 of 1

how to show the product attribute in front-page?

Posted: Sat Aug 08, 2015 3:29 am
by wenmangbo
<h2 th:each="attribute, iterStat : *{productAttributes}">
<p th:text="*{attribute.key}">keyvalue</p>
<p th:text="*{attribute.value}">value</p>


</h2>
I have added the attribute in product. In this way, I will show correctly.

Is there any simple way to get the value? I know the key.

Kind Regards

Re: how to show the product attribute in front-page?

Posted: Sun Aug 09, 2015 1:02 pm
by wenmangbo
Thank you