Jump to content
andyslade

Update Order Emails

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?
 

Share this post


Link to post
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


 

Share this post


Link to post
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.

Share this post


Link to post
Share on other sites

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now

×