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: ShowPriceRegularPrompt 9.0.1.2

  1. #1
    brianperry is offline Member
    Join Date
    Sep 2005
    Posts
    41

    Default ShowPriceRegularPrompt 9.0.1.2

    this prompt is returning ":" and not the value of the prompt in

    <xsl:value-of select="aspdnsf:GetVariantPrice(VariantID, number(HidePriceUntilCart), Price, SalePrice, ExtendedPrice, Points, $pSalesPromptName, TaxClassID)" disable-output-escaping="yes" />



    http://www.supermart.cc/actionadventure-c-1.aspx

  2. #2
    AspDotNetStorefront Staff - Scott's Avatar
    AspDotNetStorefront Staff - Scott is offline Administrator
    Join Date
    Mar 2007
    Location
    Ashland, OR
    Posts
    2,390

    Default

    'ShowPriceRegularPrompt' is just a style, it's not going to display any text on its own. If you need to display that prompt in your customproductlist package, you need to do it like we do in our default packages. Get the prompt name:

    Code:
    <xsl:param name="pSalesPromptName" select="aspdnsf:GetMLValue(SalesPromptName)"></xsl:param>
    ...then pass that to GetVariantPrice:

    Code:
    <xsl:value-of select="aspdnsf:GetVariantPrice(VariantID, number(HidePriceUntilCart), Price, SalePrice, ExtendedPrice, Points, $pSalesPromptName, TaxClassID)" disable-output-escaping="yes" />

  3. #3
    brianperry is offline Member
    Join Date
    Sep 2005
    Posts
    41

    Default was already toing that

    <xslaram name="pSalesPromptName" select="aspdnsf:GetMLValue(SalesPromptName)">
    </xslaram>

    i was doing that, this is the same package we use on 8.0 for live site but wont work for 9.012

  4. #4
    dvdbglw is offline Member
    Join Date
    Jun 2009
    Posts
    44

    Default

    it doesn't seem to be working for me either in version 9.

    I passed i $pSalesPromptName to the GetVariantPrice call but nothing changed.