Announcement

Collapse
No announcement yet.

Editing « NETQUOTEVAR:CARTCAPTION »

Collapse
X
 
  • Filter
  • Time
  • Show
Clear All
new posts

    Editing « NETQUOTEVAR:CARTCAPTION »

    Where can I edit « NETQUOTEVAR:CARTCAPTION » ?
    I want to have 2 lines:
    Cart (in large font) + <BR>
    (In Canadian Dollars) (in a smaller font not in bold)

    If I add HTML command through the « Design | Text » options I get the results I want but... the HTML command appears in the « Customer » email .txt file.

    Thank You !
    Bernard Morin

    #2
    Hi,

    The customer e-mail is generated from one of the perl scripts. So you could change that so the HTML tags to not get entered into it. Open 'OrderScript.pl' (found in your Site folder (usually Site1)) in a text editor such as Notepad and search for:

    165

    You should see:

    Code:
    	$ACTINIC::B2B->SetXML('CART', ACTINIC::GetPhrase(-1, 165));
    change this to:

    Code:
    	$ACTINIC::B2B->SetXML('CART', "Cart");
    If you have made changes to the 'Design | Options | Shop Defaults | Receipt Currency Label' field too then you will also need to change the following line in the same script:

    Code:
    $ACTINIC::B2B->AppendXML('CART', " (" . ACTINIC::GetPhrase(-1, 96, $$::g_pCatalogBlob{'CURRENCY'}) . ")");
    to:

    Code:
    $ACTINIC::B2B->AppendXML('CART', " (" . "In Canadian Dollars" . ")");
    Close and save the file and update the site and then the customer e-mail will not be affected by the changes you have made in Design | Text.

    I hope this helps.
    ********************
    Tracey
    SellerDeck

    Comment


      #3
      Right on ! Thank You !

      Last question !
      Can I use some kind of « wild » caracters in my coupon settings ?
      I want something like this: 1$-1001-24, 1$-1002-24, 1$-1003-24.
      Can I replace one of the numbers with something like this: 1$-100?-24 or 1$-1*-24...

      Thank you !
      Bernard Morin

      Comment


        #4
        Hi,

        You can use the wildcard characters within a coupon code but I'm afraid that it won't be recognised as a wildcard - ie the customer would have to enter the code exactly as you have - 1$-100?-24 (with the ? and not a number to replace it).
        ********************
        Tracey
        SellerDeck

        Comment

        Working...
        X