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

Thread: Customer Level Extended Price

  1. #1
    ccmos is offline Junior Member
    Join Date
    Jul 2010
    Posts
    1

    Default Customer Level Extended Price

    Using v9
    Is there an way to change the price colour displayed for a customer level extended price from red have tried the .LevelPrice class in CSS but
    aspdnsf:GetVariantPrice returns the colour is there anyway i can set this.
    I don't have source code.

    Appericate the help

  2. #2
    Ex-Jesse is offline Member
    Join Date
    Mar 2011
    Posts
    30

    Default

    It's hardcoded into the function call. Again we end up doing a little string manipulation to get this to work "just" right.

    This is the normal call:
    Code:
    aspdnsf:GetVariantPrice(VariantID, number(HidePriceUntilCart), Price, SalePrice, ExtendedPrice, Points, $pSalesPromptName, TaxClassID)
    Wrap it in an aspdnsf string replacement to find "color:red" and replace it with whatever color you'd like...IE "color:green":
    Code:
    aspdnsf:StrReplace(aspdnsf:GetVariantPrice(VariantID, number(HidePriceUntilCart), Price, SalePrice, ExtendedPrice, Points, $pSalesPromptName, TaxClassID),'color:red','color:green')