By default the recipient is Admin but I want it send it to the customers email also. I saw WooCommerce send new order email to customer but it is not specifying where to put the code mentioned. I am a complete noob in WooCommerce so a detailed explanation would be appreciated. Thanks!
By default WooCommerce sends order mail to customer as well.
Try by placing an order with your (non-admin) email ID, provided your theme or any plugin restricting it.
Secondly you need to add that code in your active theme functions.php
file.
i.e.,
/wp-content/themes/my_active_theme/functions.php
or you can also add that code in any of the active plugin PHP file.
Hope this helps!
Do not use the admin email-adress for testing. Just use another email adress.
Ensure that your hosting provider allows for sending emails.
No need to patch any WooCommerce code.
functions.php
file – Raunak Gupta Mar 26 '17 at 10:42