alexthemaster Posted March 12 Share Posted March 12 Buongiorno a tutti mi sapete dire qual'è il file che genera la mail e la invia al cambio stato di un ordine? Vorrei vedere le variabili che ci sono per modificarle. Grazie Link to comment Share on other sites More sharing options...
ComGrafPL Posted March 12 Share Posted March 12 Traduzioni / e-mail. Link to comment Share on other sites More sharing options...
Knowband Plugins Posted March 12 Share Posted March 12 Le e-mail per la modifica dello stato dell'ordine vengono attivate dalla funzione changeIdOrderState del file classes\order\OrderHistory.php. Puoi usare questa funzione per scoprire quali variabili template sono presenti. Link to comment Share on other sites More sharing options...
alexthemaster Posted March 12 Author Share Posted March 12 (edited) io nel template mail ho la variabile {payment} vorrei crearne una nuova chiamata {payment_number }con il valore di {payment} ma vorrei modificarne il contenuto. nel file che mi hai suggerito non vedo questa variabile ma vedo i firstname ecc... mi andrebbe bene anche poter modificare quella variabile dal template della mail eliminando i primi 6 caratteri presenti nella variabile. In parole povere lì dentro c'è scritto Amazon 405-545245-52653 e vorrei farla diventare 405-545245-52653 in php se trovo il file farei un substr Edited March 12 by alexthemaster (see edit history) Link to comment Share on other sites More sharing options...
alexthemaster Posted March 14 Author Share Posted March 14 nessuno sa dirmi dove poter guardare per aggiungere una variabile alle email che manda prestashop? grazie Link to comment Share on other sites More sharing options...
Knowband Plugins Posted March 15 Share Posted March 15 On 3/14/2025 at 12:26 PM, alexthemaster said: nessuno sa dirmi dove poter guardare per aggiungere una variabile alle email che manda prestashop? grazie Expand classes/order/OrderHisotry.php function sendEmail. Link to comment Share on other sites More sharing options...
Recommended Posts
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 accountSign in
Already have an account? Sign in here.
Sign In Now