Store Code Value for Name
Hi-
We have this setup to differentiate channels
<xsl:choose>
<xsl:when test="Store/StoreType/Code = 'AMAZON'">
<img width="150px" src="http://www.acornsales.biz/swimg/packing_slip_amazon.png"/>
</xsl:when>
<xsl:when test="Store/StoreType/Code = 'EBAY'">
<img width="150px" src="http://www.acornsales.biz/swimg/packing_slip_ebay.png"/>
</xsl:when>
<xsl:when test="Store/StoreType/Code = 'ETSY'">
<img width="150px" src="http://www.acornsales.biz/swimg/packing_slip_etsy.png"/>
</xsl:when>
<xsl:when test="Store/StoreType/Code = 'WALMART'">
<img width="150px" src="http://www.acornsales.biz/swimg/packing_slip_walmart.png"/>
</xsl:when>
<xsl:when test="Store/StoreType/Code = 'SHOPIFY'">
<img width="150px" src="http://www.acornsales.biz/swimg/ess_logo_tall.png"/>
</xsl:when>
<xsl:otherwise>
Error: Store <xsl:value-of select="Store/StoreType/Name"/> Invalid
</xsl:otherwise>
</xsl:choose>
However we are opening up more shopify stores - what is the code to do this
<xsl:when test="Store/StoreType/Code = 'SHOPIFY'">
For the Store Name - we tried this but it didn't work.
<xsl:when test="Store/StoreName = 'ESS'">
Please sign in to leave a comment.
Comments
0 comments