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 6 of 6

Thread: Find product code from current page (token ?)

  1. #1
    mikemurphy is offline Senior Member
    Join Date
    Mar 2006
    Location
    United Kingdom
    Posts
    207

    Default Find product code from current page (token ?)

    Is it possible to identify the product SKU of the viewed product using a token ? (or other way) ?? (not the ProductID)
    Last edited by mikemurphy; 05-30-2011 at 01:35 PM.
    8.0.1.4 W2008R2 64-bit MSSQL2005

  2. #2
    mikemurphy is offline Senior Member
    Join Date
    Mar 2006
    Location
    United Kingdom
    Posts
    207

    Default

    ...............anyone ?
    8.0.1.4 W2008R2 64-bit MSSQL2005

  3. #3
    BFG 9000 is offline Senior Member
    Join Date
    Oct 2006
    Location
    South UK
    Posts
    882

    Default

    <xsl:value-of select="SKU" />

    ?


    TTFN

    BFG

  4. #4
    mikemurphy is offline Senior Member
    Join Date
    Mar 2006
    Location
    United Kingdom
    Posts
    207

    Default

    ok thnx - not being v.good at xml, would this work ?

    <input type="hidden" id="feefoproduct" value="<xsl:value-of select="SKU" />
    ">

    ??
    8.0.1.4 W2008R2 64-bit MSSQL2005

  5. #5
    chrismartz is offline Senior Member
    Join Date
    Apr 2010
    Posts
    339

    Default

    I believe you would do this instead in an xmlpackage:

    Code:
    <input type="hidden" id="feefoproduct" value="{SKU}">

  6. #6
    mikemurphy is offline Senior Member
    Join Date
    Mar 2006
    Location
    United Kingdom
    Posts
    207

    Default

    thanks guys - that makes sense
    8.0.1.4 W2008R2 64-bit MSSQL2005