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...

AspDotNetStorefront
DotFeed

How to add ProductRatings to a kit page

So, how can I get the reviews to show up after 'Related Products'?  

In /Views/Product/KitDetail.cshtml, I want to add ProductRatings section after the following:

@Html.XmlPackage("relatedproducts", new { Productid = Model.Id })

The code used in other XmlPackages is:

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

Is there an easy way to call aspdnsf:ProductRatings?
asked Mar 1 in MultiStore by lleemon (150 points)

1 Answer

0 votes
Hello, you should be able to put that same XmlPackage value-of command into the  page.kitheader.xml.config  which is the display for the kit pages.

Thank you,
Jan

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 20 by jsimacek (6,655 points)
...