Need some work done? Post a Project Today
Need a PHP developer (familiar w/ mySQL & CS-Cart) to write an addon that includes a cron job to export orders from a CS-Cart website into csv and copies the csv to a specified DropBox folder. This addon must be easily installable on other CS-Cart websites and must come with installation instructions.
Here is the general flow:
1) Addon uses Cron job to export a csv file daily at a specified time (we must have instructions on how to modify this time as needed) from the CS-Cart website, containing only orders with "Processed" status. The exported csv file will contain the following columns: Order ID, Parent Inventory, Date, Status, Notes, Details, Shipping: title, Shipping: first name, Shipping: last name, Shipping: address, Shipping: address (line 2), Shipping: city, Shipping: state, Shipping: country, Shipping: zipcode, Extra fields.
2) We must have instructions on how to set/modify the csv filename that is being exported and sent to Dropbox.
3) The Cron job sends the csv file to a Dropbox folder of our choice. We want to be able to change the folder as needed, so if it's hardcoded, we will need instructions on how to change the path.
This addon will be installed on multiple cs-cart websites. Therefore, since csv files from multiple sites will uploaded daily to the Dropbox folder, the CSV files must be named by the code using a logical format, like YYYYMMDD_Country Code.CSV (e.g. 20130102_IT.csv for a file created on January 2 2013 from an Italian website).
The code must be compatible with CS-Cart 2.2.3 and higher.