Results 1 to 7 of 7

Thread: COD Change Wording

  1. #1
    Join Date
    Jul 2008
    Location
    Harlow / Essex / UK
    Posts
    619

    Exclamation COD Change Wording

    We are currently trying to change the wording for COD on the site. We have done what we can with the string resources.

    However on the receipt it still shows up COD I have tracked this down to this bit of code.
    C#/VB.NET Code:
    AppLogic.ro_PMCOD 
    That was found on our checkout1.
    Where can we edit this? We just need to change this one thing to "Pay By Phone" or anything along them lines. It is causing our customers a lot of confusion.

    Thanks in advance.
    =====
    Version (Code/DB): AspDotNetStorefront MSx 9.1.0.1/9.1.0.0
    Execution Mode: 64 Bit
    Dot Net Developments - E-commerce By Experience

  2. #2
    Join Date
    Oct 2006
    Location
    South UK
    Posts
    873

    Default

    If it's on the reciept - surely you can control it with your receipt xmlpackage?


    TTFN

    BFG

  3. #3
    Join Date
    Jul 2008
    Location
    Harlow / Essex / UK
    Posts
    619

    Default

    Bingo right on the money.
    Looks like this was the best way to do it.

    C#/VB.NET Code:
    <xsl:choose>
    <
    xsl:when test="$CleanPaymentMethod='COD'">
    Pay By Phone
    </xsl:when>
    <
    xsl:otherwise>
    <
    xsl:value-of select="$CleanPaymentMethod/>
    </
    xsl:otherwise>
    </
    xsl:choose
    =====
    Version (Code/DB): AspDotNetStorefront MSx 9.1.0.1/9.1.0.0
    Execution Mode: 64 Bit
    Dot Net Developments - E-commerce By Experience

  4. #4
    Join Date
    May 2008
    Posts
    150

    Default

    HI am looking to change CHECKBYMAIL .. cant seem to find it anywhere. how can i change this. thanks
    Version (Code/DB):
    AspDotNetStorefront ML 8.1.2.0/8.1.2.0

  5. #5
    Join Date
    Oct 2008
    Posts
    1,132

    Default

    Sure, that's possible. Under the GetAvailableHeaders template, look for these section (for the Payment Method line):
    Code:
    <xsl:otherwise>
    <xsl:value-of select="$CleanPaymentMethod" />
    </xsl:otherwise>
    Then just before that section, add these lines:
    Code:
                  <xsl:when test="$CleanPaymentMethod='CHECKBYMAIL'">
                    <xsl:value-of select="'CHECK BY EMAIL'" disable-output-escaping="yes" />
                  </xsl:when>
    You could change the highlighted part with any string. I would recommend a string resource token, though...

  6. #6
    Join Date
    May 2008
    Posts
    150

    Default

    Brilliant .. It worked perfectly .. your a GOD to me ..
    Thanks for everything..
    Version (Code/DB):
    AspDotNetStorefront ML 8.1.2.0/8.1.2.0

  7. #7
    Join Date
    Nov 2008
    Posts
    15

    Default

    Where is GetAvailableHeaders template?

Tags for this Thread

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •