-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathTODO
38 lines (26 loc) · 1.9 KB
/
TODO
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
Admin:
[x] Login
[x] Logout
[x] Add products directly to the database
[x] Edit products directly from the database
[x] Delete products (never delete, change colunm active from yes to no)
[x] See a list of purchases from clients (select * from purchases)
[x] See a list of partners (select * from partners)
[x] an XML file and/or JSON file will be generated or updated. Those files must be named “products.xml” and “products.json”.
[ ] inform partner of purchases
In your webshop, you sell local products as well as products from partners. Your website will display:
[x] Your partner’s products from XML and/or JSON and save them into your own database
[x] Your local products fetched directly from own database
[x] Products from partners will also be fetched from your own database
When a user buys a product (just by clicking the “buy” button):
[x] If the product is local, the client gets an email with purchase information. (Select * from products where product_id = 1)
[x] If the product is local, the system saves the purchase information
[x] If the product is from a partner, the system keeps the commission and sends the order and money (after taking the comission out) to the partner. This is done with a web-service.
In your webshop the user/buyer/client will be able to:
[x] Search for products. The page will display local as well as partner’s products. Done with the “like” keyword in MySQL
[x] Buy (click and buy, no payment, no credit card, just pretend the user entered all needed data)
[x] Get an email when he/she buys a product. The buyers must write her email somewhere. If you want, the client also writes her mobile number to get an SMS with the order
In your webshop the partner can:
[x] Login to upload the path to her XML and JSON API
[x] Get an order coming from your own system
[x] Get money from a sale that you make in your system, but the product was from the partner