osCommerce / osCommerce-V4

Other
38 stars 26 forks source link

##CUSTOMER_FIRSTNAME##, ##CUSTOMER_LASTNAME## not populated on "SEND VOUCHER" email template #39

Closed codehog closed 1 year ago

codehog commented 1 year ago

In the "send voucher" email template under "user related template from admin", when this is sent, the field for ##CUSTOMER_FIRSTNAME## is replaced with nothing resulting in an email starting:

Dear ,

To replicate: goto ADMIN -> Orders / Customers -> Customers

To resolve, In Gv_mailController.php :: the fields for $mail['customers_firstname'] and $mail['customers_lastname'] are not being storedd in the $email_params array when there is a successful query before calling \common\helpers\Mail::get_parsed_email_template(

pan-oscom commented 1 year ago

Thanks. Your patch included into 56860 update