nican VIP
Total posts: 392
14 Mar 2014 12:07

I am usign the rating API to call $rating['html'] but I'd like to display only the rating stars, without the 0% of 0 votes message

as I am displaying that info elsewhere using $rating['total'] and $rating['num']

is this possible in some way?

thank you

Last Modified: 17 Mar 2014


Sergey
Total posts: 13,748
17 Mar 2014 05:10

You can use rating helper class.

echo RatingHelp::loadRating('crown', $rating['total'], $item->id, 500, 'Cobalt.ItemRatingCallBackSingle', false, 500);
Powered by Cobalt