VirtueMart Forum

VirtueMart 2 + 3 + 4 => Templating & Layouts => Topic started by: suraty on January 28, 2022, 21:21:48 PM

Title: Reviews (Ratings) in product page
Post by: suraty on January 28, 2022, 21:21:48 PM
Hello,

I am using Joomla version 3 and Virtuemart version 3.

At the bottom of each product page, the description and reviews are shown in tabs.
In the review tab, it shows rating stars and the review textbox.
When the mouse hovers the rating stars to select, it shows them across the whole page (like this question screenshot.  https://forum.virtuemart.net/index.php?topic=140231.0 (https://forum.virtuemart.net/index.php?topic=140231.0)).
I tried to change the CSS styles, but had no success!

The other problem is that each one can enter just one review and no more!

How can I solve these problems?

Thank you
Title: Re: Reviews (Ratings) in product page
Post by: suraty on January 29, 2022, 10:54:01 AM
Is there any solution for rating stars or the number of reviews for each user?
Is there any idea?

Thank you
Title: Re: Reviews (Ratings) in product page
Post by: GJC Web Design on January 29, 2022, 12:31:01 PM
QuoteIs there any solution for rating stars

as u can read on the post you mention it is a JS issue caused by the template you are using .. on a standard template it works correctly so check your code or provide links and information about your template..

Quotenumber of reviews for each user?

do u mean allow more than one review per product per user?
Title: Re: Reviews (Ratings) in product page
Post by: jenkinhill on January 29, 2022, 12:32:14 PM
Which Joomla/VM 3?  See http://forum.virtuemart.net/index.php?topic=128401.0

The star issue is related to your template, which I assume is a 3rd party commercial template? In which case support should be provided by the template supplier, or use your available tools to identify script errors.

Why would you want each user to be able to post multiple reviews for the same product? Spammers paradise!
Title: Re: Reviews (Ratings) in product page
Post by: suraty on January 30, 2022, 10:53:00 AM
Can I allow a limited number of reviews per product per user?
Title: Re: Reviews (Ratings) in product page
Post by: pinochico on January 30, 2022, 13:37:50 PM
QuoteThe other problem is that each one can enter just one review and no more!

is not problem, is the right
Title: Re: Reviews (Ratings) in product page
Post by: GJC Web Design on January 30, 2022, 15:40:46 PM
QuoteCan I allow a limited number of reviews per product per user?

Still not clear!!!   Reviews per same user but different products  ??  Or same user and same products??
Title: Re: Reviews (Ratings) in product page
Post by: suraty on January 31, 2022, 07:28:13 AM
Same user and same product.
Title: Re: Reviews (Ratings) in product page
Post by: GJC Web Design on January 31, 2022, 10:05:07 AM
would probably need a core change in  public function saveRating($data=0) {
administrator\components\com_virtuemart\models\ratings.php