How to add product rating to productListItem template?
Posted: Tue Jul 29, 2014 2:04 am
I would like to add product rating in the productListItem template? How could I do that?
In my solr documents, I have added a field called product_rating which is like this..
<field name="product_rating" type="double" indexed="true" stored="true" />
Now, I would like to now how could I get this field in the productListItem template? The productListItem, I can access only product class object, but how could I access the product_rating?
Thanks in advance. Hope you will reply as soon as possible.
In my solr documents, I have added a field called product_rating which is like this..
<field name="product_rating" type="double" indexed="true" stored="true" />
Now, I would like to now how could I get this field in the productListItem template? The productListItem, I can access only product class object, but how could I access the product_rating?
Thanks in advance. Hope you will reply as soon as possible.