Jump to content
  • Checkout
  • Login
  • Get in touch

osCommerce

The e-commerce.

Update Order Emails


andyslade

Recommended Posts

I have installed oscommerce 2.3.4 and added the order editor module. I wished to change the format of the order update email sent to the customer and found that the HTML email format was not working as expected. On investigation I found that the file catalog/admin/edit_order.php contained the lines..

           if (EMAIL_USE_HTML == 'true') {    
             //Prepare HTML emai
             require('includes/modules/email/html_orders.php');
             $email = $html_email_orders;

However, I cannot find any includes/models/email folder. Searching the forums and internet also could not find any reference to the file html_orders, which I assume is designed to format the email in HTML format ready for sending.

Can anyone shed some light on this?
 

Link to comment
Share on other sites

7 minutes ago, andyslade said:

includes/modules/email/html_orders.php

This is not part of the stock code in osC so will probably be part of the add-on you installed. Check to be sure it's in the zip file you down loaded and has been copied over to the right path. Also many of the add-on's are no full packages! some only include the updated files so make sure you downloaded a full packeage.

Also consider using the updated comunity version of the code. https://www.oscommerce.com/Products

 

Link to comment
Share on other sites

Thanks JcMagpie. Looking into it further, I discovered that the Mail manager add on I installed required another addon which had the missing files. The Mail Manager instructions did not say that the other add on was required. I can now further invest the reasons why I can't get the emails to work properly.

Link to comment
Share on other sites

Archived

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

×
×
  • Create New...