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

Thread: Sold Item in entity.grid.xml.config

  1. #1
    danfinney is offline Member
    Join Date
    Jan 2008
    Location
    Indianapolis, Indiana
    Posts
    40

    Default Sold Item in entity.grid.xml.config

    I was able to disable the "add to cart" button as described in this post:

    http://forums.aspdotnetstorefront.co...ight=sold+item

    I even figured out how to overlay a transparent "Sold" gif on the image. (all by myself)

    Now I am trying to overlay a Sold gif, or put a Sold Text message under the sold items in entity.grid.xml.config but so far I have scored an Epic Fail. Any words of wisdom?

  2. #2
    danfinney is offline Member
    Join Date
    Jan 2008
    Location
    Indianapolis, Indiana
    Posts
    40

    Default

    Ok, maybe I did not put enough detail into my question, lets try again.

    My customer is selling unique one-of-a-kind products that have a quantity of 1. When the items sell, I am trying to put a "sold" message under the product for a time instead of immediately expiring it.

    I was able to successfully modify product.SimpleProduct.xml.config

    Code:
    <xsl:choose>
    <xsl:when test="Inventory = 0">
    <div class="soldimagediv"><img class="soldimage" alt="This Product Found a Home" src="/skins/skin_1/images/soldimage.gif"/><xsl:value-of select="aspdnsf:LookupProductImage(ProductID, ImageFilenameOverride, SKU, 'medium', 1)" disable-output-escaping="yes"/></div>
    </xsl:when>
    <xsl:otherwise>
    <xsl:value-of select="aspdnsf:LookupProductImage(ProductID, ImageFilenameOverride, SKU, 'medium', 1)" disable-output-escaping="yes"/>
    </xsl:otherwise>
    </xsl:choose>
    I have been unable to do the same thing with the images on entity.grid.xml.config Can someone walk me through the details (like I am a three year old) of how to set this up for Entity Grid?

    Thank you for your time!

  3. #3
    rybrown18 is offline Junior Member
    Join Date
    Feb 2009
    Posts
    18

    Default

    How did you get the image to display?