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: Order subtotal token

  1. #1
    max_gwd is offline Junior Member
    Join Date
    Oct 2006
    Posts
    19

    Default Order subtotal token

    Is there a token for order subtotal similar to the one for order total?

    The order total one is (!ORDERTOTAL!) but ordersubtotal does not work.
    ****************************************
    Abandoned Cart Notification System Now Available
    All versions of ASPDNSF supported - $99/site
    VB.NET source code included for $129/site
    http://www.slashzero.org/ACN

  2. #2
    ASPDNSF Staff - Jon's Avatar
    ASPDNSF Staff - Jon is offline Senior Member
    Join Date
    Sep 2004
    Posts
    11,419

    Default

    Is this for analytics / conversion tracking? If you open /web/orderconfirmation.aspx.cs in Notepad, you can see the string replacement for "(!ORDERTOTAL!)". Just copy/paste those three instances, and substitute "subtotal" for "total":
    Code:
    ... Replace("(!ORDERSUBTOTAL!)", Localization.CurrencyStringForGatewayWithoutExchangeRate(ord.SubTotal(true))) ...
    Jon Wolthuis

  3. #3
    techmanager is offline Junior Member
    Join Date
    Sep 2010
    Posts
    1

    Default

    Thanks for the information. Just updated the code ... hopefully it works.