News:

Looking for documentation? Take a look on our wiki

Main Menu

How to get Rating to show up?

Started by duncan12, July 03, 2015, 01:46:43 AM

Previous topic - Next topic

duncan12

I am missing something here. I can't get the rating stars to show up on the product page. The label text and stars are not there at all. I have a product that has two reviews, one with 4 stars and one with 5 stars.  So there should be something on the detail page that shows "Average Rating: 4.5 stars". Right? There's a screenshot of my config attached.

Note, this problem persists regardless of which template I'm using, so it must be a config issue.

jenkinhill

That config is fine and will display the star rating if your product details template makes a call to the rating.php sublayout. If using overrides check that your productdetails default.php does make that call - in VM default 3.0.9.4 template it is   echo shopFunctionsF::renderVmSubLayout('rating',.........
Kelvyn
Lowestoft, Suffolk, UK

Retired from forum life November 2023

Please mention your VirtueMart, Joomla and PHP versions when asking a question in this forum

duncan12

I have confirmed that my template does make that call. Further, I have switched templates to Beez and this does not resolve the issue. Product Ratings are not being rendered at all, regardless of which template I use. I've looked in the source/output of the page and they are not there (they are not hidden via style sheets.) You can see that I've configured them to appear. But they are not showing up.

There must be some other magical setting somewhere. But where? Please help.

duncan12

Note, this problem magically fixed itself when I updated to VM 3.0.12.