Follow us on Twitter X-Cart on Facebook Wiki
Shopping cart software Solutions for online shops and malls
 

Display company name as Email sender

 
Reply
   X-Cart forums > X-Cart 4 > Dev Questions
 
Thread Tools Search this Thread
  #41  
Old 10-10-2014, 05:42 AM
 
designguru designguru is offline
 

X-Adept
  
Join Date: Dec 2010
Posts: 418
 

Default Re: Display company name as Email sender

Quote:
Originally Posted by aim
show_company.4.6.1-4.6.2.diff is uploaded.


The test of your diff file says:

admin/configuration.php COULD NOT be patched
__________________
X-Cart Pro 4.6.2 with many modules
X-CART Pro 4.4.1
Reply With Quote
  #42  
Old 10-10-2014, 07:00 AM
 
aim aim is offline
Advanced Staff Users
 

X-Cart team
  
Join Date: Dec 2008
Posts: 928
 

Default Re: Display company name as Email sender

Quote:
Originally Posted by designguru
The test of your diff file says:

admin/configuration.php COULD NOT be patched

It seems you have customized admin/configuration.php file.


Some of these hunks cannot be applied

Code:
'xpc_private_key', 'xpc_public_key', 'breadcrumbs_separator', + 'company_mail_from', + 'newsletter_email', + 'orders_department', + 'site_administrator', + 'smtp_mail_from', + 'support_department', + 'users_department', ); define('XC_SKIP_BOUNCER_TEST',1);


Code:
// Check email $validation_result = $is_empty || func_check_email($val); + } elseif ($var_properties[$key]['validation'] == 'email_extended') { + // Check email via XCEmailFormat::EXTENDED + $validation_result = $is_empty || func_check_email($val, XCEmailFormat::EXTENDED); } elseif ($var_properties[$key]['validation'] == 'emails') { // Check emails list


Code:
$smarty->assign('option', $option); $smarty->assign('option_title', $_option_title); $smarty->assign('main', 'configuration'); +$smarty->assign('email_extended_validation_regexp', func_email_validation_regexp(XCEmailFormat::EXTENDED)); if (!empty($_option_title)) $location[] = array( $_option_title, '');
__________________
Sincerely yours,
Ildar Amankulov
Head of Maintenance group
Reply With Quote
  #43  
Old 10-10-2014, 07:27 AM
 
designguru designguru is offline
 

X-Adept
  
Join Date: Dec 2010
Posts: 418
 

Default Re: Display company name as Email sender

Quote:
Originally Posted by aim
It seems you have customized admin/configuration.php file.


Some of these hunks cannot be applied

Code:
'xpc_private_key', 'xpc_public_key', 'breadcrumbs_separator', + 'company_mail_from', + 'newsletter_email', + 'orders_department', + 'site_administrator', + 'smtp_mail_from', + 'support_department', + 'users_department', ); define('XC_SKIP_BOUNCER_TEST',1);


Code:
// Check email $validation_result = $is_empty || func_check_email($val); + } elseif ($var_properties[$key]['validation'] == 'email_extended') { + // Check email via XCEmailFormat::EXTENDED + $validation_result = $is_empty || func_check_email($val, XCEmailFormat::EXTENDED); } elseif ($var_properties[$key]['validation'] == 'emails') { // Check emails list


Code:
$smarty->assign('option', $option); $smarty->assign('option_title', $_option_title); $smarty->assign('main', 'configuration'); +$smarty->assign('email_extended_validation_regexp', func_email_validation_regexp(XCEmailFormat::EXTENDED)); if (!empty($_option_title)) $location[] = array( $_option_title, '');



Sent you PM
__________________
X-Cart Pro 4.6.2 with many modules
X-CART Pro 4.4.1
Reply With Quote
  #44  
Old 10-12-2014, 06:23 AM
 
aim aim is offline
Advanced Staff Users
 

X-Cart team
  
Join Date: Dec 2008
Posts: 928
 

Default Re: Display company name as Email sender

The show_company.4.6.1-4.6.2.diff patch is reuploaded.
Attached Files
File Type: diff show_company.4.6.1-4.6.2.diff (5.0 KB, 82 views)
__________________
Sincerely yours,
Ildar Amankulov
Head of Maintenance group
Reply With Quote
  #45  
Old 10-12-2014, 11:08 AM
 
designguru designguru is offline
 

X-Adept
  
Join Date: Dec 2010
Posts: 418
 

Default Re: Display company name as Email sender

Quote:
Originally Posted by aim
The show_company.4.6.1-4.6.2.diff patch is reuploaded.


Thank you. I added it successfully but all the emails still show with the email address. Do I need to set the name somewhere like within the (company information).

Thank again
__________________
X-Cart Pro 4.6.2 with many modules
X-CART Pro 4.4.1
Reply With Quote
  #46  
Old 10-12-2014, 11:36 AM
 
Duramax 6.6L Duramax 6.6L is offline
 

X-Adept
  
Join Date: Dec 2006
Posts: 865
 

Default Re: Display company name as Email sender

How about the file for 4.6.4
__________________
Xcart 5.1.6 Building New Store
Xcart4.6.4 Gold Plus
Xcart 4.6.4 Platinum
Smart Template,
Mail Chimp Upgrade
Checkout One (One Page Checkout)
Checkout One X-Payments Connector
Checkout One Deluxe Tools
Call For Price
On Sale Module
Buy Together Module
MAP Price MOD
Reply With Quote
  #47  
Old 10-12-2014, 07:28 PM
 
aim aim is offline
Advanced Staff Users
 

X-Cart team
  
Join Date: Dec 2008
Posts: 928
 

Default Re: Display company name as Email sender

Quote:
Originally Posted by designguru
Thank you. I added it successfully but all the emails still show with the email address. Do I need to set the name somewhere like within the (company information).

Thank again

Do you update the emails on the ' Main page :: General settings :: Company ' page ?
__________________
Sincerely yours,
Ildar Amankulov
Head of Maintenance group
Reply With Quote

The following user thanks aim for this useful post:
designguru (10-13-2014)
  #48  
Old 10-12-2014, 07:29 PM
 
aim aim is offline
Advanced Staff Users
 

X-Cart team
  
Join Date: Dec 2008
Posts: 928
 

Default Re: Display company name as Email sender

Quote:
Originally Posted by Duramax 6.6L
How about the file for 4.6.4

http://forum.x-cart.com/showpost.php?p=377357&postcount=29
__________________
Sincerely yours,
Ildar Amankulov
Head of Maintenance group
Reply With Quote
  #49  
Old 10-13-2014, 01:10 AM
 
designguru designguru is offline
 

X-Adept
  
Join Date: Dec 2010
Posts: 418
 

Default Re: Display company name as Email sender

Quote:
Originally Posted by aim
Do you update the emails on the ' Main page :: General settings :: Company ' page ?


Yes, I updated these:

1. Main Page :: General Settings :: Company Emails
2. Main Page :: General Settings :: Company from Email

I only can input an email (of course) also for 'company from email'.

Anything I need to do?
__________________
X-Cart Pro 4.6.2 with many modules
X-CART Pro 4.4.1
Reply With Quote
  #50  
Old 10-13-2014, 01:45 AM
 
aim aim is offline
Advanced Staff Users
 

X-Cart team
  
Join Date: Dec 2008
Posts: 928
 

Default Re: Display company name as Email sender

Do you apply the sql patch ?

You have to fill something like 'Your Company Name <sales@yourstore.com>' to the '"From" email address ' field.
__________________
Sincerely yours,
Ildar Amankulov
Head of Maintenance group
Reply With Quote

The following user thanks aim for this useful post:
designguru (10-13-2014)
Reply
   X-Cart forums > X-Cart 4 > Dev Questions



Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

vB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Forum Jump


All times are GMT -8. The time now is 10:20 AM.

   

 
X-Cart forums © 2001-2020