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

Thread: call for discount table in xml

  1. #1
    Univest is offline Member
    Join Date
    Feb 2010
    Posts
    30

    Default call for discount table in xml

    how do you call for a specific discount table name and show it in xml package?

    for example if there is a discount table with the name of "standard table"
    and you want to call it and show it on the page.

    help would be appriciated.
    thx

  2. #2
    ASPAlfred is offline Senior Member
    Join Date
    Nov 2007
    Posts
    2,244

    Default

    FYI, there's an appconfig (ShowQuantityDiscountTablesInline) built-in already to display the corresponding quantity discount mapped to a product on the product pages.

    You can invoke this in your XMLPackage
    Code:
    <xsl:value-of select="aspdnsf:ShowQuantityDiscountTable(ProductID)" disable-output-escaping="yes"/><br/>

  3. #3
    Univest is offline Member
    Join Date
    Feb 2010
    Posts
    30

    Default

    thx alfred for the reply

    but i want to enable a specific discount table with xml

    for example i want to test if quantity discount is enabled for the product and if not then set it to a specific table name.

    any comand for that?

    thank you

  4. #4
    ASPAlfred is offline Senior Member
    Join Date
    Nov 2007
    Posts
    2,244

    Default

    There's a good information here about what you're asking. Hope that helps.