My SellerDeck Account | Newsletter | Free Trial

Community and Knowledge Base

Go Back   Sellerdeck Community > Knowledge Base > Script Changes > Emails

Search powered by Google
Register FAQ Members List Search Today's Posts Mark Forums Read

Reply
 
Thread Tools Search this Thread Rating: Thread Rating: 3 votes, 4.67 average. Display Modes
  #1  
Old 22-Nov-2009, 11:55 AM
KB KB is offline
Administrator
Join Date: Nov 2009
Posts: 1,012
Thanks: 0
Thanked 34 Times in 29 Posts
Can I show the payment method in the confirmation email?

To add the payment method that the customer has chosen to the confirmation email do the following:

* browse to your site folder and locate 'OrderScript.pl' (take a backup)

* edit this file in a text editor such as notepad

* search for 'CUSTOMER_NAME'

* you will see...

$ACTINIC::B2B->SetXML('CUSTOMER_NAME',$sName);

* insert the following after this line:

$ACTINIC::B2B->SetXML('PAYMENT_METHOD', $$::g_pPaymentList{$::g_PaymentInfo{METHOD}}{PROMPT});


* save and close the file

* within Actinic you then need to add the variable to show the payment method into the 'Customer Email' layout

* on the 'Design' tab, select 'Customer email' from the 'Select Page Type' drop-down box

* in the 'layout code' window insert the following where you want the payment method to appear.

Payment method: <Actinic:PAYMENT_METHOD/>

* click 'Apply' and update your site
Reply With Quote
  #2  
Old 18-Nov-2016, 08:29 PM
tedwardson's Avatar
tedwardson tedwardson is offline
Developers
Join Date: Apr 2003
Full Name: Todd Edwardson
Posts: 39
Thanks: 20
Thanked 11 Times in 5 Posts
Does this script change still work on later versions?

We tried to implement this on a v16 site and the email did not show the payment method.
__________________
Cheers, Todd Edwardson

Edwardson.com & SellerDeck US Sales & Service
800-503-5717 | 609-773-0800
todd@edwardson.com
Reply With Quote
  #3  
Old 19-Nov-2016, 10:00 AM
guccij's Avatar
guccij guccij is offline
Registered User
Join Date: Feb 2008
Full Name: Jules
Posts: 1,929
Thanks: 163
Thanked 150 Times in 137 Posts
You're probably best using the instructions in the AUG. They definitely work in v16.
Quote:
Payment Method
This technique will show the Payment Method in the email that gets sent out when the customer places an order
Edit 'OrderScript.pl' in your site folder (take a backup first)
Search for:
#
# Read the template
#
Insert the following directly before the above:
#
# Add payment info
#
my $sPaymentDescription = $::g_pPaymentList->{$::g_PaymentInfo{METHOD}}->{PROMPT};
$ACTINIC::B2B->SetXML('PaymentMethod', $sPaymentDescription);
Close and save the file
You can then add the following into your customer email template:
Payment Method: <Actinic:PaymentMethod/>
Reply With Quote
The Following User Says Thank You to guccij For This Useful Post:
tedwardson (20-Nov-2016)
Reply


Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes Rate This Thread
Rate This Thread:

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are Off
[IMG] code is On
HTML code is Off



All times are GMT. The time now is 08:31 AM.


Powered by vBulletin® Version 3.8.4
Copyright ©2000 - 2017, Jelsoft Enterprises Ltd.