Post by straightlight » Sat May 21, 2016 10:48 pm

In system/library/openbay.php and catalog/model/checkout/order.php file,

find:

Code: Select all

$subject = sprintf($language->get('text_new_subject'), html_entity_decode($this->config->get('config_name'), ENT_QUOTES, 'UTF-8'), $order_id);
replace both with:

Code: Select all

if (!empty($order_info['store_name'])) {
						$subject = sprintf($language->get('text_new_subject'), html_entity_decode($order_info['store_name'], ENT_QUOTES, 'UTF-8'), $order_id);
						
					} else {
						$subject = sprintf($language->get('text_new_subject'), html_entity_decode($this->config->get('config_name'), ENT_QUOTES, 'UTF-8'), $order_id);
					}
It doesn't really make sense that the email sender is gathered from the ordered store name and that the email subject line represents the current store name.

Dedication and passion goes to those who are able to push and merge a project.

Regards,
Straightlight
Programmer / Opencart Tester


Legendary Member

Posts

Joined
Mon Nov 14, 2011 11:38 pm
Location - Canada, ON
Who is online

Users browsing this forum: No registered users and 2 guests