Important Notice from AspDotNetStorefront
It is with dismay that we report that we have been forced, through the action of hackers, to shut off write-access to this forum. We are keen to leave the wealth of material available to you for research. We have opened a new forum from which our community of users can seek help, support and advice from us and from each other. To post a new question to our community, please visit: http://forums.vortx.com
Results 1 to 2 of 2

Thread: Coding one product XML package to display two different ways for Multi-Store

  1. #1
    empirechrome is offline Junior Member
    Join Date
    Jun 2007
    Location
    West Memphis
    Posts
    28

    Default Coding one product XML package to display two different ways for Multi-Store

    I've been fiddling around with the idea of coding one product XML package that could be used on different MultiStores - for example, I would want to wrap a particular DIV in code (maybe an xsl:if function?) so it would show for customers viewing that product on StoreID 1, but not on StoreID 2. Any ideas? Right now I've got clones of different items, where the only difference is which XML package they're using, so there are two sets of data to update.

  2. #2
    mmcgeachy is offline Senior Member
    Join Date
    Sep 2008
    Posts
    174

    Default

    Are you asking what the xsl if statement would look like? If so then this example may help :
    Code:
    <xsl:if test="/root/Runtime/StoreID = '1'">
    	You are viewing StoreID: <xsl:value-of select="/root/Runtime/StoreID" />
    </xsl:if>