beginner_dev Posted January 28, 2013 Share Posted January 28, 2013 Hello everyone! I am new to PrestaShop. I need a webshop cms that can be integrated with an existing backend (work assignment). The only thing that needs to be done for integration is to create a textfile with details about the order, which will be processed by our servers. I've read about module development and got a first test-module to run, but it only displays information on the main site, which isn't very helpful for me. Is it possible to generate a textfile with order details every time an order is made? Where would I hook the module if I want it to "fire" every time orders are placed? Thank you in advance, every hint is appreciated! Link to comment Share on other sites More sharing options...
beginner_dev Posted January 28, 2013 Author Share Posted January 28, 2013 After some more looking around I found the actionValidateOrder hook. If I hook my module there, will I be able to get order details of the last order made from the database? Or is there a better way of "intercepting" the order process? I'd have to extract stuff like customer ID, products, etc. which seems relatively difficult, but not impossible (looking at the database structure). 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