Jump to content

Updating a set of order status once dropshipper has picked order


Recommended Posts

Hi there,

 

I am writing a new module (and I am new to prestashop also) for our dropshipping client. They update the order status onto a FTP server using flat file CSV. The issue I am running into is, from my very limited understanding hookactionOrderStatusPostUpdate is a hook for a single order, but on the FTP there will be files put up for each order as it is picked and then put onto a truck (or if there is an issue with stock etc, it will be reflected in said file).

I was hoping to write a module and then use the Cron Task manager to execute said module on a schedule. Where it goes onto the FTP, looks at all the CSV files, gets the status of each order and updates it (along with sending an email).

 

My primary question: Is the hookactionOrderStatusPostUpdate function what I should be looking at? or am I barking up the wrong tree (I think I am).

Any help would be greatly appreciated.

Link to comment
Share on other sites

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 account

Sign in

Already have an account? Sign in here.

Sign In Now
×
×
  • Create New...