CTDAN Posted March 24, 2010 Share Posted March 24, 2010 I'm currently struggling writting a module that is responsible for exporting a .CSV which contains specific infomation on an order. So far I've managed to extract the data I want from the database and create a .CSV file, this is fine. As I want this process automated I'll need this function to run once the e-mail notification has been sent to the customer (or something similar that triggers it). How would I go about doing this??I've been reading into classes and functions of Prestashop so far but there seems to be very little documentation for it and hardly any tutorials for module creation (i've already read the 5 or 6 tutorials there are floating about) which makes it very hard.Would anyone have any ideas of where to start about doing something like this? Any infomation about passing order details into my module class or anything would be very helpful!Any advice or pointing in the right direction is much appreicated! Link to comment Share on other sites More sharing options...
CTDAN Posted April 28, 2010 Author Share Posted April 28, 2010 I've managed to build my own module to do this now! PM me for details if you need something similar! Link to comment Share on other sites More sharing options...
Site Posted May 10, 2010 Share Posted May 10, 2010 Hi,I would be looking at just the export module side of things,i.e... on a products state e.g "Preparation in progress" <- all orders contained are exported in CSVQTYProduct RefFull NameStreet Add 1Street Add 2CityPost codePhone NumberE-mailVersion 1.1.0.5 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