Hi there,
I'd like to dispaly current product's parent category's name and description on product details page. I know I need to change the product.Simpleproduct.xml.config. I wonder if I have to change the SP getProductInfo also?
Thanks,
Alan
Hi there,
I'd like to dispaly current product's parent category's name and description on product details page. I know I need to change the product.Simpleproduct.xml.config. I wonder if I have to change the SP getProductInfo also?
Thanks,
Alan
Last edited by alanzhou; 11-20-2011 at 05:50 AM. Reason: no additional
nobody knows?
Do you want this instead of the product description? What version are you running on? Need some more information.
Thank you, deanfp.
I changed the product.simpleproduct.xml.config, and a SP.
But I get further problem, please see http://forums.aspdotnetstorefront.co...ct-detail-page.
Thanks,
Alan
Are these products mapped to more than one root level category?
maybe.
I changed the product.simpleproduct.xml.config to
<query name="Products" rowElementName="Product" runif="showproduct">
<sql>
<![CDATA[
exec dbo.aspdnsf_ProductInfo @ProductID, @CustomerLevelID, 1, 0, @affiliateID, @CategoryID
]]>
</sql>
<queryparam paramname="@ProductID" paramtype="request" requestparamname="ProductID" sqlDataType="int" defvalue="0" validationpattern="^\d{1,10}$" />
<queryparam paramname="@CustomerLevelID" paramtype="runtime" requestparamname="CustomerLevelID" sqlDataType="int" defvalue="0" validationpattern="" />
<queryparam paramname="@affiliateID" paramtype="system" requestparamname="AffiliateID" sqlDataType="int" defvalue="0" validationpattern="" />
<queryparam paramname="@CategoryID" paramtype="runtime" requestparamname="entityID" sqlDataType="int" defvalue="0" validationpattern="" />
</query>
Then the laest viewed parent category appears!
Thanks,
Alan