Hi,
I have a very limited knowledge of xslt template, but need to figure this out on a shop we "inherited" from another dw-partner.
Have a page showing an eCom group. Need to have the name of the group listed above the products.
This is in the productlist xslt template:
<xsl:template name="GroupName"> <xsl:choose> <xsl:when test="Ecom.Group.Name != ''"> <xsl:value-of select="Ecom.Group.Name" disable-output-escaping="yes"/> </xsl:when> <xsl:when test="loop/item[1]/Ecom.Group.Name != ''"> <xsl:value-of select="loop/item[1]/Ecom.Group.Name" disable-output-escaping="yes"/> </xsl:when> <xsl:otherwise> <xsl:text>Welcome</xsl:text> </xsl:otherwise> </xsl:choose> </xsl:template>
No matter what i do i just get the headline "Welcome".
Developer forum
Have to catch the Groupname as headline
Replies
You must be logged in to post in the forum