I want to echo the average review star rating of a product in text.
Currently it is displayed in width % to display the review stars.
But I want to display it like:
Reviewscore is 4.7 / 5
How can I achieve that?
htmlPHPreview
I want to echo the average review star rating of a product in text.
Currently it is displayed in width % to display the review stars.
But I want to display it like:
Reviewscore is 4.7 / 5
How can I achieve that?
Best Answer
This line does echo the ratingscore into text: