Jump to content
  • Checkout
  • Login
  • Get in touch

osCommerce

The e-commerce.

email-order status change


Timis

Recommended Posts

Posted

I have one more question:How can i change the text of the email is being send to the customer when i change the order status? :roll:

Posted

look in includes7Languages/yourlanguage/checkout_success.php

Posted

Change the text in:

 

admin/includes/yourlang/orders.php

 

It's at the end of file.

Best Regards

olby

  • 1 year later...
  • 6 months later...
Posted

Hi I hope someone can help me with this,

 

Clients had being complianing of Orders Status emails that had no body at all, this use to work, but now when I change the status of and order, the email that goes out to the client is blank, what they receive had no body at all.

 

Any ideas?

 

Thanks

  • 2 weeks later...
Posted
Hi I hope someone can help me with this,

 

Clients had being complianing of Orders Status emails that had no body at all, this use to work, but now when I change the status of and order, the email that goes out to the client is blank, what they receive had no body at all.

 

Any ideas?

 

Thanks

Hi, this is exact the same problem I was going to post! Did you or someone else know the answer to this?

 

Any suggestion is welkom!

Posted
Hi, this is exact the same problem I was going to post! Did you or someone else know the answer to this?

 

Any suggestion is welkom!

 

 

Not yet, no one had reply with an answer, if you found something please posted here.

 

Regards

Posted
Not yet, no one had reply with an answer, if you found something please posted here.

 

Regards

 

Hi Darkvader,

 

Is it possible you installed the newsletter contribution? I think my problem started just after that.

Also I am reading thru the forum and I have strong believes this problem is due to the general.php file. Only I want to determine which one exactly before starting anything. I read they use to change the general.php in catalog/includes but I would have rather believed this should be in admin/includes.

Reading the code in both shows that truly they both handle email matters.

If you could find anything please keep posting here. Anybody else has an answer please post it!

THanx

  • 2 weeks later...
Posted

Still no reply and problem not solved. It is becoming a real burden to me.

I would like to ask anybody reading this and who knows the solution to the problem to please let us know!

I have replaced all original files and still the problem remains. I guess it has something to do with html or simply the database (all messages are well documented and stored there)

:'(

Posted
Still no reply and problem not solved. It is becoming  a real burden to me.

I would like to ask anybody reading this and who knows the solution to the problem to please let us know!

I have replaced all original files and still the problem remains. I guess it has something to do with html or simply the database (all messages are well documented and stored there)

:'(

It has to be in the admin folder somewhere. Maybe if we keep posting, someone will help. :) Just kidding board monitor....

 

I will keep searching. Ther is an update_order function that is done but still looking for what is emailed out again.

 

Thanks,

Matt

Posted
It has to be in the admin folder somewhere.  Maybe if we keep posting, someone will help.  :)  Just kidding board monitor....

 

I will keep searching.  Ther is an update_order function that is done but still looking for what is emailed out again.

 

Thanks,

Matt

 

I have found these lines in the admin\includes\language\englilsh\orders.php I think it has to do with somthing in these lines:

 

define('EMAIL_TEXT_STATUS_UPDATE', 'Your order has been updated to the following status.' . "\n\n" . 'New status: %s' . "\n\n" . 'Please reply to this email if you have any questions.' . "\n");

define('EMAIL_TEXT_COMMENTS_UPDATE', 'The comments for your order are' . "\n\n%s\n\n");

 

 

Anyone?

 

Thansk,

Matt

Posted
Hi Darkvader,

 

Is it possible you installed the newsletter contribution? I think my problem started just after that.

Also I am reading thru the forum and I have strong believes this problem is due to the general.php file. Only I want to determine which one exactly before starting anything. I read they use to change the general.php in catalog/includes but I would have rather believed this should be in admin/includes.

Reading the code in both shows that truly they both handle email matters.

If you could find anything please keep posting here. Anybody else has an answer please post it!

THanx

 

 

Hi Yandus,

 

No I had not installed the newsletter contribution, but if the problem is the general.php file, I had install other contributions that had change lines onthe genera.php. If I found what portion of the file is responsable for sending the email I maybe able to fix it.

 

THanks for your reply

Posted
Still no reply and problem not solved. It is becoming  a real burden to me.

I would like to ask anybody reading this and who knows the solution to the problem to please let us know!

I have replaced all original files and still the problem remains. I guess it has something to do with html or simply the database (all messages are well documented and stored there)

:'(

 

I kow this is a pain, currently I need to change the status of the order and send an email ,that I manually type, via the "Send Mail" under "Tools" to ensure the cliente receive an email with status.

 

Helpppppppppppppppppppp please

Posted

Take a look in /catalog/admin/orders.php -- I believe that's where you make the changes to the update status Email.

 

This thread also provides an easy way to make it more admin-friendly too:

 

http://www.oscommerce.com/forums/index.php?showtopic=136025&hl=

 

The original Email order confirmation is in /catalog/checkout_process.php

 

HTH,

 

Terry

Terry Kluytmans

 

Contribs Installed: Purchase Without Account (PWA); Big Images, Product Availability, Description in Product Listing, Graphical Infobox, Header Tags Controller, Login Box, Option Type Feature, plus many layout changes & other mods of my own, like:

 

Add order total to checkout_shipment

Add order total to checkout_payment

Add radio buttons at checkout_shipping (for backorder options, etc.)

Duplicate Table Rate Shipping Module

Better Product Review Flow

 

* If at first you don't succeed, find out if there's a prize for the loser. *

Posted
Take a look in /catalog/admin/orders.php -- I believe that's where you make the changes to the update status Email.

 

This thread also provides an easy way to make it more admin-friendly too:

 

http://www.oscommerce.com/forums/index.php?showtopic=136025&hl=

 

The original Email order confirmation is in /catalog/checkout_process.php

 

HTH,

 

Terry

 

THanks, I will give it a try.

  • 1 month later...
Posted
THanks, I will give it a try.

 

Did this work out for you? Guess this is a complete different issue.

I have installed the contribution email templates. Great mod especially

for standard messages just below the order status box. They only problem

remains that emails are sent blank.

Does no one has the solution to this problem. I can't believe no one encountered and SOLVED this issue before.

 

Any help would be greatly appreciated. I would like to know the exact php-file causing this problem! :(

Posted
Did this work out for you? Guess this is a complete different issue.

I have installed the contribution email templates. Great mod especially

for standard messages just below the order status box. They only problem

remains that emails are sent blank.

Does no one has the solution to this problem. I can't believe no one encountered and SOLVED this issue before.

 

Any help would be greatly appreciated. I would like to know the exact php-file causing this problem!  :(

 

 

Hi,

 

Unfortunatly I try the suggestion but it did not work, all Status Order email are going out blank still.

 

What i'm doing is sending the Order Staus my self using Outlook Express :-(

 

I had not install the Message Template contribution so I don't know if your problem is releated to mine.

 

Good Luck

  • 2 weeks later...
Posted

I don't know if you guys have solved your problem yet but I had the same issue and just managed to fix it. I had installed the PWA contrib and found that in catalog/admin/orders.php that the line (line 50 in my file)

$pwa_check_query= tep_db_query("select purchased_without_account from " . TABLE_ORDERS . " where orders_id = '" . tep_db_input($oID) . "'");$pwa_check= tep_db_fetch_array($pwa_check_query); if ($pwa_check['purchased_without_account'] != '1'){           $email = STORE_NAME . "\n" . EMAIL_SEPARATOR . "\n" . EMAIL_TEXT_ORDER_NUMBER . ' ' . $oID . "\n" . EMAIL_TEXT_INVOICE_URL . ' ' . tep_catalog_href_link(FILENAME_CATALOG_ACCOUNT_HISTORY_INFO, 'order_id=' . $oID, 'SSL') . "\n" . EMAIL_TEXT_DATE_ORDERED . ' ' . tep_date_long($check_status['date_purchased']) . "\n\n" . $notify_comments . sprintf(EMAIL_TEXT_STATUS_UPDATE, $orders_status_array[$status]); }

 

was commented out with // start pwa changes and was not on its own line.

 

When I put the code above on its own line the e-mail was sent correctly (though it could still use some work to make it look a little more friendly).

 

Hope that helps.

 

Steve

Posted

BIGGGGGGGGGGGGGGGGGG Thanks Brazillia, I just try your fix and it works great :-) I'm soooo happy :D :D :D that these work now, I had been sending Order Status emails out to my cutomers manually for a while know since this feature stop working.

 

Great fix :thumbsup: :thumbsup: :thumbsup: :thumbsup: :thumbsup: :thumbsup:

 

 

 

I don't know if you guys have solved your problem yet but I had the same issue and just managed to fix it. I had installed the PWA contrib and found that in catalog/admin/orders.php that the line (line 50 in my file)

$pwa_check_query= tep_db_query("select purchased_without_account from " . TABLE_ORDERS . " where orders_id = '" . tep_db_input($oID) . "'");$pwa_check= tep_db_fetch_array($pwa_check_query); if ($pwa_check['purchased_without_account'] != '1'){           $email = STORE_NAME . "\n" . EMAIL_SEPARATOR . "\n" . EMAIL_TEXT_ORDER_NUMBER . ' ' . $oID . "\n" . EMAIL_TEXT_INVOICE_URL . ' ' . tep_catalog_href_link(FILENAME_CATALOG_ACCOUNT_HISTORY_INFO, 'order_id=' . $oID, 'SSL') . "\n" . EMAIL_TEXT_DATE_ORDERED . ' ' . tep_date_long($check_status['date_purchased']) . "\n\n" . $notify_comments . sprintf(EMAIL_TEXT_STATUS_UPDATE, $orders_status_array[$status]); }

 

was commented out with // start pwa changes and was not on its own line.

 

When I put the code above on its own line the e-mail was sent correctly (though it could still use some work to make it look a little more friendly).

 

Hope that helps.

 

Steve

  • 2 months later...
Posted

WOW!

 

Thank you! Real simple fix to big problem!

2dogrc

  • 1 month later...
Posted

Hi,

We have the same issue.

 

That is, updating the order status and notifying the customer sends them a blank email. Even when I fill out the comments it is blank. Doesn't actually give order status either. Just "Subject: Order Update" and that's it.

 

Just a little bump here before I go scratching around PHP which I am barely any good at ;)

 

Thanks,

r

Archived

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

×
×
  • Create New...