Hi Rfay,

If it 's not to much to asking you, i'd like to insert start rating in search listing amazon_store_search_results.tpl for each product.

i try with this that i cut and past from review_panel tpl.

print theme('image', "$directory/images/{$rounded_avg}stars.gif","{$item->CustomerReviews->AverageRating[0]} stars", "{$item->CustomerReviews->AverageRating} stars");

thanks (merci)
Florent

Comments

rfay’s picture

I'm not sure what you're asking for. Is this a feature request? Please describe it more completely.

lentreprenaute’s picture

Hi rfay

yes it's a featured request for listing result, i try to add information for each product by default, you have only title, manufacter, descriptin and image.

i added Actor, Artist name, i would like to add AverageRating (star image) for each product.

do you have any idea.

Thanks,
Florent

rfay’s picture

The panels panes provide this, so that will give you a start.
See amazon_store_item_reviews_panel.tpl.php

print theme('image', "$directory/images/{$rounded_stars}stars.gif","{$review->Rating} stars", "{$review->Rating} stars"); 
rfay’s picture

Category: feature » support
Status: Active » Fixed

Marking fixed, as this is more of a support request on theming (I think)

Status: Fixed » Closed (fixed)

Automatically closed -- issue fixed for 2 weeks with no activity.