https://github.com/aftership/apps-oscommerce
Connect the oscommerce and sync the data to aftership
https://github.com/aftership/apps-oscommerce
Last synced: about 2 months ago
JSON representation
Connect the oscommerce and sync the data to aftership
- Host: GitHub
- URL: https://github.com/aftership/apps-oscommerce
- Owner: AfterShip
- Created: 2015-03-28T06:11:19.000Z (about 11 years ago)
- Default Branch: master
- Last Pushed: 2015-03-28T06:23:35.000Z (about 11 years ago)
- Last Synced: 2025-03-05T23:26:58.432Z (over 1 year ago)
- Language: PHP
- Size: 97.7 KB
- Stars: 0
- Watchers: 33
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
Awesome Lists containing this project
README
### Usage
Support auto generate CSV by cronjob, so that aftership can fetch the tracking number or order info by using the auto-fetch apps.
https://www.aftership.com/apps/auto-fetch
### Config
- DATE_RANGE: default 3 days
- ORDER_STATUS: default id 4
- CSV_FILE_PATH: default in the folder aftership
- CSV_FILE_NAME: default filename aftership.csv
### Upload
upload the folder `aftership` in to your public root folder
```
/your_web_root_dir/public_html/
```
then
```
chmod 666 /your_web_root_dir/public_html/shipment.csv
```
### cronjob
Setup the cronjob for running the "export-aftership-csv.php"
It will generate the CSV file everyday on 6:30pm (your linux server time)
```
30 18 * * * /your_web_root_dir/public_html/aftership/export-aftership-csv.php
```
### Setup the Auto Fetch Job in aftership.com
* Login to your account, go to "Apps"
https://www.aftership.com/apps/auto-fetch
* Install the "Auto Fetch"
follow the instruction and save the value.
### Done~