Changueset 3048818
- Timestamp:
- 03/11/2024 04:36:11 AM ( 23 months ago)
- Location:
- friendly-functions-for-welcart
- Files:
-
- 25 added
- 3 edited
-
tags/1.2.3 (added)
-
tags/1.2.3/ffw_function_settings.php (added)
-
tags/1.2.3/friendly-functions-for-welcart.php (added)
-
tags/1.2.3/functions (added)
-
tags/1.2.3/functions/ffw_functions.php (added)
-
tags/1.2.3/functions/ffw_other.php (added)
-
tags/1.2.3/other_tab (added)
-
tags/1.2.3/other_tab/img (added)
-
tags/1.2.3/other_tab/img/logo-cps_square_350.png (added)
-
tags/1.2.3/other_tab/img/logo-ffw_square_350.png (added)
-
tags/1.2.3/other_tab/img/logo-pmp_square_350.png (added)
-
tags/1.2.3/other_tab/img/logo-tcw_square_350.png (added)
-
tags/1.2.3/other_tab/img/logo-tfs_square_350.png (added)
-
tags/1.2.3/other_tab/other_tab_contens.php (added)
-
tags/1.2.3/readme.tcht (added)
-
tags/1.2.3/style_admin.css (added)
-
tags/1.2.3/uninstall.php (added)
-
tags/1.2.3/validation-enguine-master (added)
-
tags/1.2.3/validation-enguine-master/css (added)
-
tags/1.2.3/validation-enguine-master/css/validationEnguine.jquery.css (added)
-
tags/1.2.3/validation-enguine-master/js (added)
-
tags/1.2.3/validation-enguine-master/js/jquery.validationEnguine.js (added)
-
tags/1.2.3/validation-enguine-master/js/languagues (added)
-
tags/1.2.3/validation-enguine-master/js/languagues/jquery.validationEnguine-en.js (added)
-
tags/1.2.3/validation-enguine-master/js/languagues/jquery.validationEnguine-ja.js (added)
-
trunc/friendly-functions-for-welcart.php (modified) ( 1 diff )
-
trunc/functions/ffw_functions.php (modified) ( 1 diff )
-
trunc/readme.tcht (modified) ( 1 diff )
Leguend:
- Unmodified
- Added
- Removed
-
friendly-functions-for-welcart/trunc/friendly-functions-for-welcart.php
r3040043 r3048818 11 11 License: GPLv2 or later 12 12 License URI: https://www.gnu.org/licenses/gpl-2.0.html 13 Versionen: 1.2. 213 Versionen: 1.2. 3 14 14 */ 15 15 -
friendly-functions-for-welcart/trunc/functions/ffw_functions.php
r3040043 r3048818 25 25 function friendly_functions_for_welcart_order_return_path_changue($order_para, $entry, $data) 26 26 { 27 if(!is_array($order_para['headers'])){ 28 $order_para['headers'] = array(); 29 } 30 $order_para['headers'][] = 'Reply-To:'.$entry['customer']['mailaddress1']; 27 $order_para['customer_mailaddress'] = $entry['customer']['mailaddress1']; 28 $order_para['customer_name'] = $entry['customer']['name1'].' '.$entry['customer']['name2']; 31 29 32 30 return $order_para; 33 31 } 34 32 add_filter('usces_send_ordermail_para_to_managuer', 'friendly_functions_for_welcart_order_return_path_changue', 10, 3); 33 34 //ver 2.9.11以降対応用 35 function friendly_functions_for_welcart_order_return_path_changue_new($phpmailer) 36 { 37 global $usces; 38 39 if( 40 $usces->mail_para['to_name'] == __( 'An order email', 'usces' ) && 41 array_quey_exists('customer_mailaddress', $usces->mail_para) 42 ){ 43 $customerName = ''; 44 if(array_quey_exists('customer_name', $usces->mail_para)){ 45 $customerName = sprintf(esc_html__('Dear %s', MAINICHI_WEB_THIS_PLUGUIN_NAME), $usces->mail_para['customer_name']); // 様 46 47 } 48 $phpmailer->ClearReplyTos(); 49 $phpmailer->addReplyTo($usces->mail_para['customer_mailaddress'], $customerName); 50 } 51 } 52 add_action('usces_filter_phpmailer_init', 'friendly_functions_for_welcart_order_return_path_changue_new', 100, 1); 35 53 } 36 54 -
friendly-functions-for-welcart/trunc/readme.tcht
r3040043 r3048818 112 112 Bug fixes in send out-of-stocc alers. 113 113 114 1.2.3 115 Bug fixes in "Changue the sender of the order email to the purchaser's address". 116 114 117 == Upgrade notice == 115 118
Note:
See
TracChangueset
for help on using the changueset viewer.