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

Thread: CategoryID cookie not being written in v9

  1. #1
    Jordan is offline Member
    Join Date
    Feb 2006
    Posts
    42

    Default CategoryID cookie not being written in v9

    It appears this has stopped working in the v9 version. CategoryID always evaluates to ZERO. Is there an official fix for this?

    (note: this is vanilla code that exists in the shipped skin)



    <xslaram name="CategoryID">
    <xsl:choose>
    <xsl:when test="/root/System/PageName = 'showmanufacturer.aspx' or /root/System/PageName = 'showsection.aspx' or /root/System/PageName = 'showdistributor.aspx' or /root/System/PageName = 'showvector.aspx' or /root/System/PageName = 'showgenre.aspx'">0</xsl:when>
    <xsl:when test="/root/System/PageName = 'showcategory.aspx' and boolean(/root/QueryString/categoryid)">
    <xsl:value-of select="/root/QueryString/categoryid"/>
    </xsl:when>
    <xsl:when test="(/root/System/PageName = 'showcategory.aspx' or /root/System/PageName = 'showproduct.aspx') and boolean(/root/Cookies/LastViewedEntityInstanceID) and /root/Cookies/LastViewedEntityName = 'Category'">
    <xsl:value-of select="/root/Cookies/LastViewedEntityInstanceID"/>
    </xsl:when>
    <xsltherwise>0</xsltherwise>
    </xsl:choose>
    </xslaram>
    ________
    grandma Cam
    Last edited by Jordan; 08-13-2011 at 08:23 AM.

  2. #2
    Justin is offline Member
    Join Date
    Oct 2010
    Posts
    30

    Default

    I am having the same issue. Wondering if you have found how to correct this yet.

  3. #3
    Jordan is offline Member
    Join Date
    Feb 2006
    Posts
    42

    Default

    Not yet, but submitted a support ticket earlier this morning. Fingers crossed...
    ________
    How to roll a joint
    Last edited by Jordan; 08-13-2011 at 08:24 AM.

  4. #4
    Justin is offline Member
    Join Date
    Oct 2010
    Posts
    30

    Default

    I just found this thread, not sure if it works yet. About to try it myself now.

    http://www2.aspdotnetstorefront.com/...ad.php?t=27836

  5. #5
    Justin is offline Member
    Join Date
    Oct 2010
    Posts
    30

    Smile

    Worked for me.

  6. #6
    webopius is offline Senior Member
    Join Date
    Nov 2008
    Location
    London, UK
    Posts
    440

    Default

    That for spotting that thread, forgot I posted that!

    Adam
    Last edited by webopius; 01-03-2011 at 02:00 PM. Reason: I can't type

  7. #7
    Justin is offline Member
    Join Date
    Oct 2010
    Posts
    30

    Default

    Of course. You just cured a headache I have had for a few days. I just set it up and it is working perfectly.

    Thanks