I need a script in PHP( a class with the necessary functions) to be able to do the following tasks:
1) Export products details(including images) from an open cart to prestashop
-> If a similar product code already exists it should just update and if a product has been deleted it should be deleted in the prestashop database also( a full synchronization)
-> Both this script, the opencart and the prestashop will be found in the same server(so for access of files no problem)
2) Everytime the export is done, a backup of both the opencart db and the prestashop db should be done. It should be logged in a database( the time, the directory, backup file names and path). And also there should be a function to restore the database back by calling the ID of the backup.
I need this quickly, so ONLY if you know how opencart and prestashop database work or if you have already done such type of project, you bid.