
Add code to functions.php in Wordpress Avada theme and test works with WooCommerce
- or -
Post a project like this2781
$$
- Posted:
- Proposals: 14
- Remote
- #2041312
- Awarded
WORDPRESS ( WOOCOMMERCE AND PLUGIN) AND CMS EXPERT - QUICKEST DELIVERY GURANTEED 12 + YEARS

Web apps, Mobile apps, Websites | PHP/Laravel/React/Vue/Angular/WordPress | iOS+Android React Native/Flutter


Full Stack Web Developer with 13+ Years of Experience | Entrepreneur | Website Designer | Wordpres Developer | AI App Developer | Prompt Engineer | Python Programmer

Fullstack developer : PHP-MySQL | Wordpress | Android | iOS| Laravel | Codeigniter| Woocommerce | Magento 2 | REST API
1508130599143210442975983514044298764275120941394989166528823185016960861295168
Description
Experience Level: Intermediate
At checkout we collect two emails during the checkout process. We have been sent some code by the custom fields plugin that will send the WooCommerce emails to two email addresses following checkout. We are looking for a developer to add this code and test that the WooCommerce order confirmation is sent to the two email addresses.
add_filter('woocommerce_email_recipient_new_order',
'additional_email_checkout', 10, 2);
function
additional_email_checkout($emails, $object){
$aditional_email = get_post_meta($object->id,
'field_name',
true);
if($aditional_email){
$emails
.= ','.$aditional_email;
}
return
$emails;
}
add_filter('woocommerce_email_recipient_new_order',
'additional_email_checkout', 10, 2);
function
additional_email_checkout($emails, $object){
$aditional_email = get_post_meta($object->id,
'field_name',
true);
if($aditional_email){
$emails
.= ','.$aditional_email;
}
return
$emails;
}
James S.
100% (26)Projects Completed
49
Freelancers worked with
35
Projects awarded
17%
Last project
5 Jan 2020
United Kingdom
New Proposal
Login to your account and send a proposal now to get this project.
Log inClarification Board Ask a Question
-
There are no clarification messages.
We collect cookies to enable the proper functioning and security of our website, and to enhance your experience. By clicking on 'Accept All Cookies', you consent to the use of these cookies. You can change your 'Cookies Settings' at any time. For more information, please read ourCookie Policy
Cookie Settings
Accept All Cookies