seog Posted April 24, 2018 Share Posted April 24, 2018 (edited) Hi all I cant show in email template order_conf the numeric ID ORDER instead of random reference formed GXKUSLXXX that is very hard for customers tell us by phone these alphanumeric words. All the codes that worked in previous PS 1.5 versions dont work in PS 1.6.1.13 I tried adding next variables in classes/PaymentModule.php changing around line 582 and same variables around line 742: '{id_order}' => $order->id, '{order_name}' => $order->getUniqReference() for: '{id_order}' => (int)$this->id_order, '{order_name}' => (int)$order->id, '{ord_id}' => (int)$order->reference, '{or_id}' => $order->reference, After I added in email templates all variables {id_order} {order_name} {ord_id} {or_id} to test these variables and only works {order_name} in order_conf email template. In all others emails templates works the variable {id_order}, it is like if the variable {id_order} only works AFTER the order confirmation. Any suggestions? Edited April 24, 2018 by seog (see edit history) Link to comment Share on other sites More sharing options...
jgamio Posted April 24, 2018 Share Posted April 24, 2018 try change $order->id for $this->currentOrder Link to comment Share on other sites More sharing options...
seog Posted April 25, 2018 Author Share Posted April 25, 2018 52 minutes ago, jgamio said: try change $order->id for $this->currentOrder Sorry jgamio, it was tested but is not working in order_conf email. It give me in email the words {id_order} instead of order number as with the variables that i tried thank you 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