VAT breakdown in the cart

Hello Jose,

To do this you can check the official documentation of the same plugin:

However, I will detail it a little more, you must add a code to your functions.php file, you can find it in your Cpanel by entering:

CPanel > File Manager > Public_html > Domain folder > wp-content > Themes > Your theme > functions.php file.

By right clicking and then editing, you will add the following code to the end of it:

add_filter( ‘woocommerce_email_headers’, ‘woocommerce_completed_order_email_bcc_copy’, 10, 4 );
function woocommerce_completed_order_email_bcc_copy( $headers, $email_id, $order, $email = null ) {
if ($email_id == ‘customer_completed_order’ ) {
$headers .= ‘BCC: Your name ‘ . “\r\n”; //just repeat this line again to insert another email address in BCC
}
return $headers;
}

This will cause you to receive a copy only for orders that are completed, if you want other options I recommend you check the ones available in the document that I shared with you at the beginning.

If you have problems finding this file you can also do it through a plugin > with it it is easier simply add it to the left side of your wordpress by clicking the insert new code button:

You place the code and save the changes, with either of the two it is valid.

Answered by:

For card payments you would have to use the redsys plugin, right?

Regarding this question, I suppose you mean to make payments with cards? If this is the case, you can effectively use the redsys complement if you wish, but it would have to be in another query if you have doubts about this in order to better serve you.

See also  error with Redsys in store with package configured in p mode...

Greetings 🖐️

Answered: 07/14/2021 11:47 pm

Loading Facebook Comments ...
Loading Disqus Comments ...