snubbr.com

How to configure Verisign SSL certificate on IIS with subdomain?

Get a Verisign SSL certificate for 30 days FREE. Click here to use coupon...

Get a free trial of Verisign SSL certificates. Click here for this special deal...
Got a question, hope someone can answer... How to configure Verisign SSL certificate on IIS with subdomain? Hoping for any comment. Another question on my mind: First of all... When I place an order, my customers receive something like this:.

I need this.

To dissapear and also add a signature line with terms and conditions for receiving the email like : blah blah if you are not the intended recipient, please delete or something like this..

I know this can be done in admin/ orders.php... but where?.

THank you!..

Comments (17)

I'm stumped. I'm not so sure what is the right answer. I'll do some poking around and get back to you if I bump into an decent answer. You should email the people at Verisign as they probably could give you help..

Comment #1

Make an "email signature line" in each language you support:.

/catalog/includes/languages/.

[INSERT EACH LANGUAGE YOU SUPPORT HERE].

/.

Checkout_process.php.

Just.

BEFORE.

The closing PHP tag line:.

?>.

Something like this:.

Define('EMAIL_TEXT_SIGNATURE', 'If you have received this mail in error please disregard and delete it');.

Then in.

/catalog/.

Checkout_process.php.

Change this code:.

// 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";.

To:.

// 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";.

That eliminates the order number..

To add the signature find this code:.

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

Change it to:.

$email_order .= EMAIL_SEPARATOR"\n"EMAIL_TEXT_SIGNATURE"\n";.

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

Always backup any file before making changes...

Comment #2

Any suggestions on adding the Product Desciption to the Customers Email?..

Comment #3

Find someone that knows MYSQL better than I..

The description isn't in any of the queries and I don't know how to add it..

I can't even spell MYSQL..

I'm just a PHP jockey.....

Comment #4

Hi, I followed this advice, and got the signature line in there. But I would like to have this test at the beginning of the email, between the date and the products heading. Can someone point me in the right direction as to what gets pasted where? Thanks, Bruce..

Comment #5

After this code:.

// 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";.

Add this code:.

$email_order .= EMAIL_TEXT_SIGNATURE"\n\n";..

Comment #6

Thanks so very much! I am very close to having this look the way I want. The last thing I am trying to do is add a separator line AFTER the signature text and before the comments. I've tried copying and pasting separator code in several different places, but I can not get it to work. I am no php expert, to be sure, so I am pretty sure this is some coding trick that I am not clever enough to decipher..

Thanks for all the help on this..

Bruce..

Comment #7

Change the code I posted to:.

$email_order .= EMAIL_TEXT_SIGNATURE"\n"EMAIL_SEPARATOR"\n\n";..

Comment #8

Thanks! Figured it was easy for someone who knew what they were doing! Bruce..

Comment #9

Hi,.

My checkout_process.php file only has about 28 lines. Is something missing. I want to make more changes to the confirmation email, but can't find where to do it..

Thanks..

Comment #10

You're looking at the one in the /includes/languages/english folder..

Look at the one in the root or /catalog folder...

Comment #11

You sure you are looking at catalog/checkout_process.php? Mine has over 300 lines. Looks like you are looking at catalog/includes/languages/english/checkout_process.php...

Comment #12

Your right. I am looking where you suggested. I can't find catalog/checkout_process.php. Can you give me a more specific location to look?.

Thanks. I feel like I am on the right track!..

Comment #13

Checkout.php should be in the main OSC directory, along with index.php and a bunch of others...

Comment #14

I am trying to edit my checkout_process.php. I've followed the steps above, but none of my 'custom' text is showing up in the emails. I've tried a bunch of versions, but nothing I'm doing seems to work. The only time I can get anything 'custom' to show up is if I edit a field that is already there in my includes/languages/english/checkout_process.php ...like define('EMAIL_TEXT_PRODUCTS', 'Products HERE IS SOME TEST TEXT');.

I'm guessing it's because of how my checkout_process.php is set up. Can someone show me how to add the EMAIL_TEXT_SIGNATURE to this code:.

// 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);.

I'd like to add the 'EMAIL_TEXT_SIGNATURE'.

Right after: $email_order = STORE_NAME"\n" ..

EMAIL_SEPARATOR"\n" ..

*I tried: $email_order .= EMAIL_TEXT_SIGNATURE"\n\n"; in various spots to test, but none showed up..

Thanks for any help..

Comment #15

Hi there Zonk,.

Change this code:.

$email_order = STORE_NAME"\n" ..

EMAIL_SEPARATOR"\n" ..

EMAIL_TEXT_ORDER_NUMBER' '$insert_id"\n" ..

To this code:.

$email_order = STORE_NAME"\n" ..

EMAIL_SEPARATOR"\n" ..

EMAIL_TEXT_SIGNATURE"\n\n" ..

EMAIL_TEXT_ORDER_NUMBER' '$insert_id"\n" ..

At the end of EMAIL_TEXT_SIGNATURE"\n\n" you had an ; but you needed a(dot).

Hope it helps..

Comment #16

I don't know why but this still won't work. I have it set up in includes/language/english/checkout_process.php.

Define('EMAIL_TEXT_SIGNATURE', 'If you have received this mail in error please disregard and delete it');.

And I've got my checkout_process.php set up like above..

// lets start with the email confirmation.

$email_order = STORE_NAME"\n".

EMAIL_SEPARATOR"\n".

EMAIL_TEXT_SIGNATURE"\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);.

Does this section have to do with if it is a 'download' instead of shipped product? Does it send a different email for each?.

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";.

Thanks for the help so far everyone..

Comment #17

I still can't any 'custom' fields to show up in my checkout completed emails..

Are there any other sections that might have to be edited? I've got all the above stuff done and triple checked them....plus tried various other 'test' configurations, but I can only get the same basic layout and info in the "order process" completed email..

Thanks for any suggestions..

Comment #18


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

 

Categories: Home | Diet & Weight Management | Vitamins & Supplements | Herbs & Cleansing |

Sexual Health | Medifast Support | Nutrisystem Support | Medifast Questions |

Web Hosting | Web Hosts | Website Hosting | Hosting |

Web Hosting | GoDaddy | Digital Cameras | Best WebHosts |

Web Hosting FAQ | Web Hosts FAQ | Hosting FAQ | Hosting Group |

Hosting Questions | Camera Tips | Best Cameras To Buy | Best Cameras This Year |

Camera Q-A | Digital Cameras Q-A | Camera Forum | Nov 2010 - Cameras |

Oct 2010 - Cameras | Oct 2010 - DSLRs | Oct 2010 - Camera Tips | Sep 2010 - Cameras |

Sep 2010 - DSLRS | Sep 2010 - Camera Tips | Aug 2010 - Cameras | Aug 2010 - DSLR Tips |

Aug 2010 - Camera Tips | July 2010 - Cameras | July 2010 - Nikon Cameras | July 2010 - Canon Cameras |

July 2010 - Pentax Cameras | Medifast Recipes | Medifast Recipes Tips | Medifast Recipes Strategies |

Medifast Recipes Experiences | Medifast Recipes Group | Medifast Recipes Forum | Medifast Support Strategies |

Medifast Support Experiences |

 

(C) Copyright 2010 All rights reserved.