Buying Simple PHP ordering form

Discussion in 'Programming' started by anika, Feb 3, 2012.

  1. #1
    I need a simple PHP order form. It's basically having 3 fields.

    Item description|Price|Qty|Qty type (drop down type, 2 choices Box(default) or Single)

    It reads the following info. from the items.txt file to populate the form. The field separator is |

    Example of items.txt
    ---------
    Description|Price|Qty|Discount
    shoes|20|6||
    wallet|10|||
    blue tshirt|5|||
    red tshirt|5|||
    rain coat|40|6||30
    dvd|5|||20
    ipad 2|500|6|10

    For the rain coat example above, the fields are:

    1- Descriptions
    2- Price ($40.00)
    3- Qty/box (in this case, a box contains 6 rain coat)
    4- Discount rate (30%)

    It will read the configuration from order.cfg file which contains:
    email-from=abc@company.com -----------> (e-mail from/reply-to address)
    email-to=customer1@abc.com,customer2@def.com -----> (may contains multiple email, separated by a comma)
    admin= , ----> (a copy of the order to the admin adr.)
    discount=50 --------> (default discount rate if the discount field is empty)
    qty=12 ------> (default qty, if the qty/box field is empty)

    So the script does basically

    1- Read the items.txt file to populate the form fields table for each items:

    Description - Price - Qty - Qty type- Total

    Rain coat $40 _____ Box/Items ______
    ....
    ...

    2- Check the qty box, Calculate the total based on Qty * Price
    If the Qty type is box .. multiply the qty*(item per box) --> Total

    3- Show the order confirmation page after the user click on submit:

    Description Qty Type Total
    ..
    ..
    ..


    Subtotal: xxxxxx
    Discount: xxxxxx (calculate based on the default discount in the order.cfg file, or the one in the item.txt file)
    Total:

    [SUBMIT]

    4- After the user click on submit, it sends out the e-mail to the address defined in the order.cfg file.

    The e-mail and the form should be clearly readable ... tables


    The description is long ... but it's pretty simple. I'm paying $10.00 for the work. May have additional work for you if it's well done.

    Thanks,
    -Anika
     
    anika, Feb 3, 2012 IP
  2. anika

    anika Active Member

    Messages:
    147
    Likes Received:
    5
    Best Answers:
    0
    Trophy Points:
    90
    As Seller:
    100% - 0
    As Buyer:
    100% - 0
    #2
    Job taken. Thank you all for your interest.
    --
    Anika
     
    anika, Feb 3, 2012 IP
  3. kabirsharma

    kabirsharma Peon

    Messages:
    120
    Likes Received:
    0
    Best Answers:
    0
    Trophy Points:
    0
    As Seller:
    100% - 0
    As Buyer:
    100% - 0
    #3
    I can do. Please contact to me.
     
    kabirsharma, Feb 3, 2012 IP
  4. anika

    anika Active Member

    Messages:
    147
    Likes Received:
    5
    Best Answers:
    0
    Trophy Points:
    90
    As Seller:
    100% - 0
    As Buyer:
    100% - 0
    #4
    Still avail. the first programmer is incommunicado after taking the job.
    --
     
    anika, Feb 8, 2012 IP
  5. john.peter

    john.peter Well-Known Member

    Messages:
    307
    Likes Received:
    3
    Best Answers:
    0
    Trophy Points:
    138
    As Seller:
    100% - 0
    As Buyer:
    100% - 0
    #5
    Please let me know if this job is still open. Please PM me.

     
    john.peter, Feb 8, 2012 IP
  6. chanif.alfath

    chanif.alfath Active Member

    Messages:
    148
    Likes Received:
    4
    Best Answers:
    0
    Trophy Points:
    88
    As Seller:
    100% - 0
    As Buyer:
    100% - 0
    #6
    are this job still available?
     
    chanif.alfath, Feb 9, 2012 IP