Looking for old forum posts and information? View the old forum archive here ยป
Welcome to Vortx Community Forum, where you can ask questions and receive answers from the staff at Vortx and other members of the community.

If you had a user account on our previous forums website, you will need to register a new account here.

A static copy of our previous forums website is available online for reference. Click here to access the forum archive.

Learn more about...


Product Rating

On our product page the Customer Reviews display at the botom of the page, which is fine. I would like to display just the average rating up higher on the page, how would I do that?

This will displays the stars but not the product rating.

<xsl:value-of select="aspdnsf:GetRatingStarsImage(0)" disable-output-escaping="yes"/>
asked Mar 8, 2017 in MultiStore by davidrichards (185 points)
edited Mar 8, 2017 by davidrichards

2 Answers

0 votes

That varies a bit by version, but in most recent versions you'd need to use aspdnsf:ProductRatings:

<xsl:value-of select="aspdnsf:ProductRatings(ProductID, 0, 0, 0, 1)" disable-output-escaping="yes"/>

You should be able to search any of the OOB product XML packages for 'rating' to find examples.

answered Mar 9, 2017 by Vortx ScottS (13,500 points)
Yes I have that line in my in my page already, I am tring to display the just the AvgRating up near the title. I also would like to dispay it on the product entity page as well.
0 votes

David there is no "star rating" only, only the full rating area per Scott... however we have this module which is a good upgrade for the Rating/Review engine allowing custom rating questions per products, ratings stars, and auto email followups:  http://www.ecommercecartmods.com/p-213-product-reviews-and-ratings-module-for-aspdotnetstorefront.aspx

Ex: https://www.targetsportsusa.com/federal-automatch-22-lr-ammo-40-grain-lrn-am22-p-1967.aspx


Thank you,

Compunix, LLC (Phoenix, AZ)
AspDotNetStorefront Development Partner and Reseller since 2005
 AspDotNetStorefront add-ons and plugins : http://www.ecommercecartmods.com
  * Searching Filtering, Single Signons, Reviews Ratings, Reports, Integrations
 Complete Automotive Solution : http://www.autopartsshoppingcart.com
  * Auto + Aftermarket Parts solution
 Unlimited Custom Development : http://www.compunix.us/t-unlimited-custom-development.aspx
  * Unlimited with Quick turn-arounds!


answered Mar 9, 2017 by jsimacek (6,655 points)