smoochqt Posted July 1, 2016 Share Posted July 1, 2016 Hello, I have this very problem with adding a variable into my PHP source code that would work. I've tried to add a non-existent variable that couldn't be possibly used but still, when I use it it does nothing. I'm sending myself an e-mail every time someone orders something. The e-mail contains of pretty much basic informations but I made myself scripts that are willing me to quickly access the orders from my Outlook. But you can see I need to define and add a variable that would allow me to get both order id and order reference. Now I cheated a bit and changed the original | '{order_name}' => $order->reference, | to a | '{order_name}' => $order->id, | because I can see it in the subject of each e-mail but I need the order id to be stand-alone variable that would give me the id I need. I'm not a PHP expert and would appreciate a help, thanks a lot for help in advance. Everyone have a nice day. ps: Also excuse my english as I'm not a native speaker. pastebin: http://pastebin.com/2sbcbaQL 1 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