chrometweaks.org

How many people think the guy in iPage.Com superbowl ad looked like Phil Hartman?

Click Here To View All Answers...


First off, How many people think the guy in iPage.Com superbowl ad looked like Phil Hartman? Many thanks for any comment. 2nd question I got is.. How do you edit the text that is email to you after you have completed the checkout successfully? I want to add more text directing my customer to a link I have for them to signup for other services..

Please advise..

J.

Im using version osc2.2..

Comments (78)

Good question... I dunno what is the right answer. I'll do some investigation and get back to you if I got an answer. You should email the people at iPage as they probably can help you..

Comment #1

Ok I found this code: Where would I put my little custom message in the code below? like.. thanks for your order, please visit.

Http://www.blah.com.

To sign up for blah blah..

// lets start with the email confirmation.

$email_order = STORE_NAME"\n" ..

EMAIL_SEPARATOR"\n" ..

EMAIL_TEXT_ORDER_NUMBER' '$insert_id"\n" ..

EMAIL_TEXT_INVOICE_URL' 'tep_href_link(FILENAME_ACCOUNT_HISTORY_INFO, 'order_id='$insert_id, 'SSL', false)"\n" ..

EMAIL_TEXT_DATE_ORDERED' 'strftime(DATE_FORMAT_LONG)"\n\n";.

If ($order->info['comments']) {.

$email_order .= tep_db_output($order->info['comments'])"\n\n";.

}.

$email_order .= EMAIL_TEXT_PRODUCTS"\n" ..

EMAIL_SEPARATOR"\n" ..

$products_ordered ..

EMAIL_SEPARATOR"\n";.

For ($i=0, $n=sizeof($order_totals); $i<$n; $i++) {.

$email_order .= strip_tags($order_totals[$i]['title'])' 'strip_tags($order_totals[$i]['text'])"\n";.

}.

If ($order->content_type != 'virtual') {.

$email_order .= "\n"EMAIL_TEXT_DELIVERY_ADDRESS"\n" ..

EMAIL_SEPARATOR"\n" ..

Tep_address_label($customer_id, $sendto, 0, '', "\n")"\n";.

}.

$email_order .= "\n"EMAIL_TEXT_BILLING_ADDRESS"\n" ..

EMAIL_SEPARATOR"\n" ..

Tep_address_label($customer_id, $billto, 0, '', "\n")"\n\n";.

If (is_object($$payment)) {.

$email_order .= EMAIL_TEXT_PAYMENT_METHOD"\n" ..

EMAIL_SEPARATOR"\n";.

$payment_class = $$payment;.

$email_order .= $payment_class->title"\n\n";.

If ($payment_class->email_footer) {.

$email_order .= $payment_class->email_footer"\n\n";.

}.

}.

Tep_mail($order->customer['firstname']' '$order->customer['lastname'], $order->customer['email_address'], EMAIL_TEXT_SUBJECT, $email_order, STORE_OWNER, STORE_OWNER_EMAIL_ADDRESS);..

Comment #2

If you wanted to add it to the top do this:.

// lets start with the email confirmation.

$email_order = 'Put your message here.........' + "\n";.

$email_order .= STORE_NAME"\n".

EMAIL_SEPARATOR"\n".

EMAIL_TEXT_ORDER_NUMBER' '$insert_id"\n" ..

EMAIL_TEXT_INVOICE_URL' 'tep_href_link(FILENAME_ACCOUNT_HISTORY_INFO, 'order_id='$insert_id, 'SSL', false)"\n" ..

EMAIL_TEXT_DATE_ORDERED' 'strftime(DATE_FORMAT_LONG)"\n\n";.

If ($order->info['comments']) {.

$email_order .= tep_db_output($order->info['comments'])"\n\n";.

}.

$email_order .= EMAIL_TEXT_PRODUCTS"\n".

EMAIL_SEPARATOR"\n".

$products_ordered.

EMAIL_SEPARATOR"\n";.

Note the period before the = sign on the line $email_order .= STORE_NAME....

If you want to add it to the bottom put it here:.

$email_order .= "\n"EMAIL_TEXT_BILLING_ADDRESS"\n" ..

EMAIL_SEPARATOR"\n" ..

Tep_address_label($customer_id, $billto, 0, '', "\n")"\n\n";.

If (is_object($$payment)) {.

$email_order .= EMAIL_TEXT_PAYMENT_METHOD"\n".

EMAIL_SEPARATOR"\n";.

$payment_class = $$payment;.

$email_order .= $payment_class->title"\n\n";.

If ($payment_class->email_footer) {.

$email_order .= $payment_class->email_footer"\n\n";.

}.

}.

$email_order .= 'PUT YOUR MESSAGE HERE.....NOTICE THE PERIOD BEFORE THE = AGAIN.' + "\n";.

You can add this in both places if you would like...

Comment #3

Thank you jeff!!!.

I will do as you described...

Comment #4

It didnt work for some reason..

I noticed thebut still didnt work??.

Any ideas?.

J...

Comment #5

Hey jeff.

Ok I fixed it by doing this instead: add the text in red and put the message in the language files. work perfect now..

// lets start with the email confirmation.

$email_order = EMAIL_MY_MESSAGE. "\n" ..

$email_order = STORE_NAME"\n" ..

EMAIL_SEPARATOR"\n" ..

EMAIL_TEXT_ORDER_NUMBER' '$insert_id"\n" ..

EMAIL_TEXT_INVOICE_URL' 'tep_href_link(FILENAME_ACCOUNT_HISTORY_INFO, 'order_id='$insert_id, 'SSL', false)"\n" ..

EMAIL_TEXT_DATE_ORDERED' 'strftime(DATE_FORMAT_LONG)"\n\n";.

If ($order->info['comments']) {.

$email_order .= tep_db_output($order->info['comments'])"\n\n";.

}.

$email_order .= EMAIL_TEXT_PRODUCTS"\n" ..

EMAIL_SEPARATOR"\n" ..

$products_ordered ..

EMAIL_SEPARATOR"\n";..

Comment #6

Oops wrong tag.

Its this below.

$email_order =.

EMAIL_TEXT_MY_MESSAGE"\n\n" ..

STORE_NAME"\n" ..

EMAIL_SEPARATOR"\n" ..

EMAIL_TEXT_ORDER_NUMBER' '$insert_id"\n" ..

EMAIL_TEXT_INVOICE_URL' 'tep_href_link(FILENAME_ACCOUNT_HISTORY_INFO, 'order_id='$insert_id, 'SSL', false)"\n" ..

EMAIL_TEXT_DATE_ORDERED' 'strftime(DATE_FORMAT_LONG)"\n\n";..

Comment #7

How do you edit the text that is email to you after you have completed the checkout successfully? I want to add more text directing my customer to a link I have for them to signup for other services..

Please advise..

J.

Im using version osc2.2..

Comment #8

You can edit some of the text in includes/language/english/checkout_process.php..

However, if you want to add more fields you will have to edit catalog/checkout_process.php. Follow the code through and you will see where it creates the e-mail message, you can edit the code to add additional things...

Comment #9


This question was taken from a support group/message board and re-posted here so others can learn from it.