Any thoughts on this?
I have tried XSL if test's and XSL choose / when statements in Product.VariantsInDropdown.xml without luck. It bypasses or is failing the check. I'm not sure if the coding is wrong or the logic simply won't work. The code I added / changed starts with the xsl:choose.
Code:
<option value="{VariantID}">
<xsl:if test="IsDefault=1">
<xsl:attribute name="selected">selected</xsl:attribute>
</xsl:if>
<xsl:value-of select="$vName" />
<xsl:choose>
<xsl:when test="CustomerLevelID != 0">
<xsl:value-of select="aspdnsf:GetVariantPrice(VariantID, HidePriceUntilCart, Price, SalePrice, ExtendedPrice, Points, $pSalesPromptName, $pTaxClassID)" disable-output-escaping="yes" />
</xsl:when>
<xsl:otherwise>
</xsl:otherwise>
/xsl:choose>
</option>