Jump to content

Vars In Order Confirmation Not Filled


eugenDUS

Recommended Posts

Hey all, 

 

i have  a problem with manually sended order confirmation email (order_conf). The most of variables are not filled. The automatically sended order confirmation email looks good, there are all variables replaced with order information.

 

I figured out that the manual email send is in orderhistory.php (sendemail function). I think the problem is here $module->extra_mail_vars. extra_mail_vars are not filled. But how can i fix this?

 

post-874355-0-16591800-1448701605_thumb.png

 

post-874355-0-81663800-1448701605_thumb.png

Link to comment
Share on other sites

     if ($result['module_name']) {
                $module = Module::getInstanceByName($result['module_name']);
                if (Validate::isLoadedObject($module) && isset($module->extra_mail_vars) && is_array($module->extra_mail_vars)) {
                    $data = array_merge($data, $module->extra_mail_vars);
                }
            }

Can you find for which $result['module_name']   extra_mail_vars are empty ?

Link to comment
Share on other sites

  • 4 years later...

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...