Closed

Shopping Cart Order Export Enhancement

This project was awarded to rajawi9999 for $80 USD.

Get free quotes for a project like this
Employer working
Awarded to:
Project Budget
$30 - $250 USD
Total Bids
10
Project Description

We have Opencart Shopping Cart system and use a custom ORDER EXPORT program. We need an enhancement to the ORDER EXPORT program: The program adds orders to a [url removed, login to view] file.

1. Right now the program writes the orders to orders.csv. Edit it to write the orders to [url removed, login to view] and also write the orders to [url removed, login to view] as well, which we can clear manually as it grows.
2. To prevent concurrent writing to a file and the file getting corrupted, we need a file locking mechanism. i.e. if [url removed, login to view] file is opened for writing, then if an order comes from another browser, then lock the file ([url removed, login to view]), till the first write operation is completed, then unlock it for the second process.
3. Set cron job once an hour 50 minute) Lock [url removed, login to view] file and copy (NOT append) [url removed, login to view] to orders.csv. Clear out [url removed, login to view] and unlock

Looking to make some money?

  • Set your budget and the timeframe
  • Outline your proposal
  • Get paid for your work

Hire Freelancers who also bid on this project

    • Forbes
    • The New York Times
    • Time
    • Wall Street Journal
    • Times Online