matiit Posted January 4, 2014 Share Posted January 4, 2014 Hi, I am writing synchronization between two shops. One is Prestashop - another is on some other script. I need to perform some action - synchronizing order - just after order is fully made by someone. What would be the best place to do it? Something nicer than cron running every minute and checking database for orders? Would be great if i have all order's info when it's handling. Waiting for help, cheers! Link to comment Share on other sites More sharing options...
matiit Posted January 5, 2014 Author Share Posted January 5, 2014 Ok, nevermind, i thing i got it Link to comment Share on other sites More sharing options...
vekia Posted January 6, 2014 Share Posted January 6, 2014 hello seems like it's an interesting problem may i know how you solved it? you don't have to share whole solution, just your know-how thanks in advance Link to comment Share on other sites More sharing options...
matiit Posted January 6, 2014 Author Share Posted January 6, 2014 Sure thing. http://pastebin.com/9qu3jvAe Basically I just used actionValidateOrder hook. And it works just when I want to. 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