Agucho Posted October 20, 2015 Share Posted October 20, 2015 Hello, what would be the way to test templates without placing orders. I guess I could use Mail::Send() but I'd have to figure $data out and other params to send for each template... and seems time consuming for every shop I'm asked to modify. So, is there another way around this? Thank you. Link to comment Share on other sites More sharing options...
bellini13 Posted October 25, 2015 Share Posted October 25, 2015 I am not aware of any way to get around this. You either need to use Prestashop as intended to generate the email, or you need to develop a unit test in php code that would generate the mail using the template, and passing the correct information Link to comment Share on other sites More sharing options...
cille5 Posted October 25, 2015 Share Posted October 25, 2015 Download Prestashop Delete orders modul. Then you can delete your test orders. https://www.prestashop.com/forums/topic/191037-free-delete-orders-module/ 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