how to show the product attribute in front-page?
Posted: Sat Aug 08, 2015 3:29 am
<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
<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