felix7 Posted April 16, 2019 Share Posted April 16, 2019 Hi, I have a problem with images attached to some product in my order: So I'm trying to send the image when the order is completed. I want to send the email in "OrderConfirmationController", which receive a order as parameter. Is there some way to get attached files from that variable? I have been looking for 'Order' (and others) class and trying to get some information, but as weak typed language, I can't track too much with PHP (well, I'm a noob in Prestashop too). Thanks in advance. Link to comment Share on other sites More sharing options...
tdsoft Posted April 17, 2019 Share Posted April 17, 2019 You can open classes: classes/mail.php and review Send () function. you can find how to attach a files at there Link to comment Share on other sites More sharing options...
felix7 Posted April 17, 2019 Author Share Posted April 17, 2019 hace 15 horas, tdsoft dijo: You can open classes: classes/mail.php and review Send () function. you can find how to attach a files at there I know how to send a email and how to attach files, but in that method, which receives a variable named "$order", I want to get that files and this is what I don't know. 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