Jump to content

Email received by customer was not as the same as received by store owner


Recommended Posts

I had made some test orders in my shop and surprisingly when I check my inbox, my email was so different from what was received by my customer.

 

My customer's order detail was correct but my email as a store owner was not. There were a lot of duplicate value in the store owner but ironically the total amount was correct!

 

I am using PS1.6.1.7

 

For more understanding, you can refer to my attachment as attached.

 

Thank you in advance.

post-29214-0-54146600-1476793369_thumb.png

post-29214-0-80699500-1476793389_thumb.png

Edited by myzuhari (see edit history)
Link to comment
Share on other sites

If you will open the following file:

 

/classes/PaymentModule.php - validateOrder() function

 

You will find the following code it this function:

 


$product_list_html = '';

                    if (count($product_var_tpl_list) > 0) {

                        $product_list_txt = $this->getEmailTemplateContent('order_conf_product_list.txt', Mail::TYPE_TEXT, $product_var_tpl_list);

                        $product_list_html = $this->getEmailTemplateContent('order_conf_product_list.tpl', Mail::TYPE_HTML, $product_var_tpl_list);

                    }


 

This code fetches the product list that is used in email templates, you need to debug the same to see what is the problem.
Link to comment
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
×
×
  • Create New...