Blog Universidad

Editar cabecera email woocommerce

By febrero 5, 2021 No Comments

Primero debes copiar la plantilla a modificar de woocommerce en la plantilla de tu tema

Puedes usar las condicionales de tipo de email para elegir distintas cabeceras.

//if ( $email->id == ‘customer_completed_order» ) {}
//if ( $email->id == ‘cancelled_order’ ) {}
//if ( $email->id == ‘customer_invoice’ ) {}
//if ( $email->id == ‘customer_new_account’ ) {}
//if ( $email->id == ‘customer_note’ ) {}
//if ( $email->id == ‘customer_on_hold_order’ ) {}
//if ( $email->id == ‘customer_refunded_order’ ) {}
//if ( $email->id == ‘customer_reset_password’ ) {}
//if ( $email->id == ‘failed_order’ ) {}
//if ( $email->id == ‘new_order’ ) {}

Luego puedes incluir el template que necesites para reemplazar la cabecera

0 Reviews

There are no reviews yet.