Is there a way to show the summary instead of the description in the featuredproducts.xml.config file?
Is there a way to show the summary instead of the description in the featuredproducts.xml.config file?
Shouldn't be that hard....look for:
...and change it to:Code:<div class="featuredProductDescription"> <xsl:value-of select="aspdnsf:GetMLValue(Description)" disable-output-escaping="yes" /> </div>
Code:<div class="featuredProductDescription"> <xsl:value-of select="aspdnsf:GetMLValue(Summary)" disable-output-escaping="yes" /> </div>
Yea, I thought that's what it was so i changed it but it didn't work.
In addition to the XML change below, you'll need to modify the aspdnsf_GetFeaturedProducts stored proc to also return the Summary field. Then the summary will display when the package is rendered.
Dusty
ASPDotNetStorefront Staff
Last edited by Dusty; 08-14-2009 at 02:06 PM. Reason: clarifying
I've had this same problem. What should the aspdnsf_GetFeaturedProducts modification be?
Thanks.
In the SELECT statement, make sure it's bringing back the Summary field (in addition to everything else it brings back) from the Product table.
So, it would be something like
SELECT
Product.ID,
Product.SKU,
Product.Name,
....
[Add]Product.Summary
FROM Product ...
Mike Steyer
Information Systems Admin