Jump to content
  • Checkout
  • Login
  • Get in touch

osCommerce

The e-commerce.

Customer Order Emails


scrapkats

Recommended Posts

Hi

 

I searched but could not find this topic. I have set my configuration "My Store" option to have extra order emails sent to my email address, however, they are not coming through. Is there another place that I need to set this also? I can see the orders in my admin panel, but would like to receive emails with the order details.

 

Also, I don't think customers are receiving email confirmation of their order, as I placed a test order and I only received an email once I had set the order as delivered - the "delivered" email did have a link to a detailed invoice - is this all it is supposed to be?

 

Any assistance is greatly appreciated.

 

Regards

Kathryn

"Life is short, break the rules, forgive quickly, kiss slowly, love truly, laugh uncontrollably, and never regret anything that made you smile."

Link to comment
Share on other sites

Hi Kathryn,

 

Sorry I can't be more helpful - it sounds as if you have done everything right. Both you and your customer should receive an identical order confirmation email once the order process is complete.

 

Maybe someone else will have some suggestions as to where to look for the problem.

 

Best of luck,

~Wendy

Link to comment
Share on other sites

I am not able to offer any help this time.

 

But just to know... ¿did you install any contribution that affects some of the following files?

 

- catalog/includes/general.php

- catalog/checkout_success.php

 

 

That's all I could figure by this moment...

 

Regards,

Hey!!... I still need help with this http://www.oscommerce.com/forums/index.php?showtopic=309208. Please, take a look on it.

Link to comment
Share on other sites

I am not able to offer any help this time.

 

But just to know... ¿did you install any contribution that affects some of the following files?

 

- catalog/includes/general.php

- catalog/checkout_success.php

 

 

That's all I could figure by this moment...

 

Regards,

What have you changed in checkout_process.php

Link to comment
Share on other sites

Hi

 

I had "Burt" install a couple of his contributions for me, the email part of my checkout_process.php file says the following:

 

 

 

 

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

 

// send emails to other people

if (SEND_EXTRA_ORDER_EMAILS_TO != '') {

tep_mail('', SEND_EXTRA_ORDER_EMAILS_TO, EMAIL_TEXT_SUBJECT, $email_order, STORE_OWNER, STORE_OWNER_EMAIL_ADDRESS);

}

 

I cannot see that anything is wrong in this. Does anyone else?

 

Thank you

 

Regards

Kathryn

"Life is short, break the rules, forgive quickly, kiss slowly, love truly, laugh uncontrollably, and never regret anything that made you smile."

Link to comment
Share on other sites

Archived

This topic is now archived and is closed to further replies.

×
×
  • Create New...