Jump to content

[RISOLTO] Iva in mail di conferma ordine


gswant

Recommended Posts

Ciao a tutti,

è da qualche settimana che cerco di capire come poter modificare il contenuto che invia la mail di conferma di un'ordine, in quella mail se ci fate caso mancano dei dati importantissimi come l'ammontare della tassa sarebbe carino creare un riepilogo come quello che si vede nel riepilogo carrello.

 

Vi chiedo se qualcuno riesce a capire qual'è la variabile che definisce l'iva in modo di inserirla nella mail.

 

Grazie a tutti

Link to comment
Share on other sites

Se interessa a qualcuno, ho risolto grazie ad altri utenti del forum in inglese, modificando due file:

 

PaymentModule nella cartella classes

aggiungere alla riga 377

 

$total_paid_notax = $order->total_products; + $order->total_shipping + $order->total_wrapping - $order->total_discounts;

$total_tax = $order->total_paid - $total_paid_notax - $order->total_shipping;

$total_paid_with_tax = $order->total_paid - $order->total_shipping;

 

e quindi alla riga 429

 

'{total_paid_notax}' => Tools::displayPrice($total_paid_notax, $currency, false),

'{total_paid_with_tax}' => Tools::displayPrice($total_paid_with_tax, $currency, false),

'{total_tax}' => Tools::displayPrice($total_tax, $currency, false, false));

 

 

Riportando le variabili nel file della mail

 

order_conf nella cartella mails

 

Possiamo inviare una mail professionale con iva spese di spedizione separate e ben descritte

 

 

Un saluto a tutti

Link to comment
Share on other sites

  • 1 year later...

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now
×
×
  • Create New...