VirtueMart Forum

VirtueMart 2 + 3 + 4 => Virtuemart Development and bug reports => Topic started by: bguyb on December 29, 2012, 21:52:40 PM

Title: Can't rate products other than 5/5
Post by: bguyb on December 29, 2012, 21:52:40 PM
I've created a shop using Joomla 2.5.8 and VM 2.0.16
First I had problems with showing the rating stars at all.
I found this post and added some CSS to fix the problem. http://forum.virtuemart.net/index.php?topic=97611.15
A bit strange that I had to do that. it says nothing about it on the installation instructions.
:-\
Now I see the stars, and can write a review. but I can't change the rating. it's stuck on 5 stars.
How can I make it to work???

Thanks,
Guy B.
Title: Re: Can't rate products other than 5/5
Post by: jenkinhill on December 29, 2012, 22:28:51 PM
I assume you properly set up Shopper Review/Rating System in Configuration / Shopfront

AFAIK you cannot use that old code hack to show the star rating - it is not css, it is php. The correct php code to use is in 
joomla_root/components/com_virtuemart/views/productdetails/tmpl/default_reviews.php
and it should work OK unless being overuled by some Joomla template css or by bad use of template overrides.
Title: Re: Can't rate products other than 5/5
Post by: bguyb on December 29, 2012, 23:41:42 PM
I don't think its the joomla template i use. I've tried all of them, including Linelab free template "shoplab".

Can you please give an example of bad use of template overrides?
Or better yet, the right way to do it  :)

Thanks
Title: Re: Can't rate products other than 5/5
Post by: bguyb on December 30, 2012, 23:24:20 PM
I've done some research on overrides, and i can tell you that I don't override anything.
Are you sure that if I install a new joomla+vm2 it will work?
I really think that there is something wrong with the latest build. cause i didn't change the default settings, and the rating doesn't work.

Thanks,
Guy
Title: Re: Can't rate products other than 5/5
Post by: jenkinhill on December 31, 2012, 00:02:03 AM
It works fine for me on (now) 12 sites uodated, and yours is the only report of this issue with 2.0.16. Trying a new install in a subdirectory rules out server config/PHP issues as a cause, and if it works then you have something to compare. Just use it as installed with test products and no other modifications.
Title: Solved
Post by: bguyb on January 07, 2013, 00:30:13 AM
Hi,
I couldn't see stars because I'm using a RTL template. and vmsite-rtl.css was empty.
I couldn't rate because a module with JS blocked VM product rating.

Thank for the help,
Guy