I found that pv.ExtensionData2 vXdata can't be added to successfully to the procedure, it returns nothing in debug for some reason. So I dropped the 2 everywhere.
with debug on, I see the "UPSTAIRS" making it through:
Code:
<Variants>
<Variant>
<SEAltText>FACTORY NEW</SEAltText>
<VariantID>1297</VariantID>
<ProductID>433</ProductID>
<VariantDescription />
<VariantName>FACTORY NEW</VariantName>
<vXdata>UPSTAIRS</vXdata>
<skusuffix>-FNP</skusuffix>
<Price>0.0000</Price>
<SalePrice>0.0000</SalePric
Here is what my code looks like:
Code:
pv.Description as VariantDescription, pv.name VariantName, pv.ExtensionData vXdata, pv.skusuffix, pv.Price,
Code:
<xsl:template name="VariantCell">
<xsl:param name="pName" select="aspdnsf:GetMLValue(/root/Products/Product/Name)"></xsl:param>
<xsl:param name="pSKU" select="/root/Products/Product/SKU"></xsl:param>
<xsl:param name="HidePriceUntilCart" select="/root/Products/Product/HidePriceUntilCart"></xsl:param>
<xsl:param name="vName" select="aspdnsf:GetMLValue(VariantName)"></xsl:param>
<xsl:param name="vDescription" select="aspdnsf:GetMLValue(VariantDescription)"></xsl:param>
<xsl:param name="pSalesPromptName" select="aspdnsf:GetMLValue(/root/Products/Product/SalesPromptName)"></xsl:param>
<xsl:param name="vExtensionData" select="aspdnsf:GetMLValue(vXData)"></xsl:param>
<xsl:param name="pSEAltText" select="aspdnsf:GetMLValue(SEAltText)"></xsl:param>
<xsl:param name="AltText">
<xsl:choose>
<xsl:when test="$pSEAltText='' and $vName!=''"><xsl:value-of select="$vName" /></xsl:when>
<xsl:otherwise><xsl:value-of select="$pSEAltText" /></xsl:otherwise>
</xsl:choose>
</xsl:param>
Code:
<tr><td><font class="SmallGridText"><xsl:value-of select="aspdnsf:StringResource('showproduct.aspx.21', $LocaleSetting)" disable-output-escaping="yes" /><xsl:value-of select="concat($pSKU, skusuffix)" /></font></td></tr>
<xsl:if test="$vDescription!=''"><tr><td><xsl:value-of select="$vDescription" disable-output-escaping="yes" /></td></tr></xsl:if>
<xsl:if test="Weight!=''"><tr><td><font class="SmallGridText"><xsl:value-of select="aspdnsf:StringResource('showproduct.aspx.24', $LocaleSetting)" disable-output-escaping="yes" /><xsl:value-of select="aspdnsf:FormatDecimal(Weight, 2)" /></font></td></tr></xsl:if>
<xsl:if test="Dimensions!=''"><tr><td><font class="SmallGridText"><xsl:value-of select="aspdnsf:StringResource('showproduct.aspx.23', $LocaleSetting)" disable-output-escaping="yes" /><xsl:value-of select="Dimensions" /></font></td></tr></xsl:if>
<tr><td><font class="SmallGridText">Loc<xsl:value-of select="$vExtensionData" disable-output-escaping="yes" /></font></td></tr>
I still don't get the "UPSTAIRS" returned on the product page. Anybody? is my syntax wrong?