This project is developed for a production company. The purpose of this project is to be a order system which will be able to handle orders. The system needs to run on a local machine and transmits the data to the remote server.
The system needs to be configurable for different occasions.
This system uses MySQL for the database.
Page 1:
-------
The user will select the language which needs to be used for the order process (Currently only English and Afrikaans). The user is welcomed in every language.
Every language file have a value for USER_LANG which is the iso-code for the language (and this is used to call the correct language for the form fields etc).
Page 2:
-------
On this page, personal information is gathered to start the order (the form fields can be modified by an admin interface (which currently is in planning phase) and can be set up for each language and project).
Page 3:
-------
This is the order page. On this page the information of page 2 is inserted into the local database. After this information is inserted, the order form loads (using the database for fields).
Page 4:
-------
This page inserts the order into the database using an unique number (received when the order started) to bind it together. After the information has been inserted, it determines the value of a field called 'action' and then redirects to either Page 3 or Page 5 according to the state of the field.
The following is an example where the redirection to Page 3 would be needed:
The project recorded is the Dance Art Festival. It is 2 weeks of dances that needs to be recorded (each day from 8am-8pm). The total footage is 120 GB (for example). There is no way to put all those footage on DVDs or even BDs (Blu-Ray Disks). The idea of phporder is to provide a solution where the parents of the dancers (they are between 10 and 18 years old) can order only the items where their child has danced (or even a few good other dances) and then pay for only that (that will fit on 1, maybe 2 DVDs) using a fixed price for a DVD and an additional price per item. To order phporder will be able to reload the order page and add the order into the database until the user have all the dances they want (it will show the current order at the top of the page).
After the order is done, the user can break out of the loop an continue to the next page. Or if the project does not support reload, the user is just redirected to the next page.
Page 5:
-------
This page is the payment page. Payment is received in cash and only a few persons will be authorized and have a password and may receive the cash.
This page shows the full order and calculates the price the user needs to pay for the order.
The user then hand over the cash to the authorized person which then enters the password that they have received the cash (the password will be encrypted in the database).
After this step is complete they go to page 6.
Page 6:
-------
This page does the finalization of the order. Firstly it calls the complete order and then generates a myqsl query of it, which is then queried to the remote server (the local data will stay backed up on the local server). An unique order number will be displayed on the page. Using this number, and the Hosting-part, one will be able to recall your order and view it's status.
WHAT TO COME IN THE NEXT RELEASE:
---------------------------------
This will control everything of phporder.
This is the above with just the needed changes and pages added (few bugs need fixing).
The part which is used by customers on your site to review their order and status.
Currently this only supports the no-theme layout. This will change to be able to use themes.
Currently we only support 2 languages (this is all that have been translated). Please help us and submit your language to include as a plug in
If all goes well, the next release will be able to be plugged into other projects like Joomla!, phpBB, WordPress etc.