Announcement

Collapse
No announcement yet.

E-mail Question - Please help!

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

    E-mail Question - Please help!

    I am sending myself copies of each order downloaded so that i can keep my mailing list up to date.

    The first line of the reciept e-mail template now looks like this

    <Actinic:SHIP_EMAIL/>,<Actinic:CUSTOMER_NAME/>,

    so that my e-mail software can take the customers e-mail address and name.

    However it doesnt work because there is a space after the e-mail before the "," like this

    name@domain.co.uk ,Fred,

    How can i remove the space.

    Please help

    Many Thanks

    JP

    #2
    Hi,

    You will have to edit OrderScript.pl. Needless to say, please make a back up of the file and save in another location before you proceed. Open the file with an editing software like Notepad or Dreamweaver...

    Search for 'sub SetXMLFromHash'

    Scroll down to the line...

    $ACTINIC::B2B->SetXML($sValue, $$pHash{$sKey} . " ");

    and replace it with...

    if ($sValue eq "SHIP_EMAIL")
    {
    $ACTINIC::B2B->SetXML($sValue, $$pHash{$sKey});
    }
    else
    {
    $ACTINIC::B2B->SetXML($sValue, $$pHash{$sKey} . " ");
    }

    Save the file and exit. You will have to update site for the changes to reflect. Please note if at any point you replace the scripts with the original or Upgrade, then you will have to redo this exercise.

    Kind regards,
    Bruce King
    SellerDeck

    Comment

    Working...
    X