Hello and welcome to our community! Is this your first visit?
Register
Enjoy an ad free experience by logging in. Not a member yet? Register.
Results 1 to 8 of 8
  1. #1
    Regular Coder
    Join Date
    Aug 2011
    Posts
    192
    Thanks
    112
    Thanked 0 Times in 0 Posts

    Ordering Pizza Online.....

    (I know there have been a few postings regarding this topic). A local pizzeria wants me to create them a website where people can order online. Do you think would be the best way to contact them when an order is placed would be by sending them an email? In which case they would would have to keep checking their email. Or maybe Outlook has an option of proving a "pop-up". Just looking for any ideas. Thanks, Buffmin.

  • #2
    Senior Coder
    Join Date
    Feb 2011
    Location
    Your Monitor
    Posts
    4,325
    Thanks
    60
    Thanked 525 Times in 512 Posts
    Blog Entries
    4
    I wouldn't go with an email as that relies on them to check it.

    Instead, give them a live order page which uses AJAX to update itself (or if you're not familiar with ajax use a meta refresh).

    Use a flash animation or background music tag to play an alert sound and you've got the job done. It will poll the site/database for new orders say every 10 seconds and give them an audible warning of a new order.
    See my new CodingForums Blog: http://www.codingforums.com/blogs/tangoforce/

    Many useful explanations and tips including: Cannot modify headers - already sent, The IE if (isset($_POST['submit'])) bug explained, unexpected T_CONSTANT_ENCAPSED_STRING, debugging tips and much more!

  • Users who have thanked tangoforce for this post:

    Buffmin (11-23-2011)

  • #3
    Regular Coder
    Join Date
    Aug 2011
    Posts
    192
    Thanks
    112
    Thanked 0 Times in 0 Posts
    Ahh. Thanks Tangoforce. Excellent idea! I have touched on ajax, so it will be a good learning experience. Sincerely, Buffmin Perfect!

  • #4
    Supreme Overlord Spookster's Avatar
    Join Date
    May 2002
    Location
    Marion, IA USA
    Posts
    6,278
    Thanks
    4
    Thanked 83 Times in 82 Posts
    I'll take a large pepperoni please.
    Spookster
    CodingForums Supreme Overlord
    All Hail Spookster

  • #5
    Senior Coder
    Join Date
    Feb 2011
    Location
    Your Monitor
    Posts
    4,325
    Thanks
    60
    Thanked 525 Times in 512 Posts
    Blog Entries
    4
    Chicken & bacon is far superior!
    See my new CodingForums Blog: http://www.codingforums.com/blogs/tangoforce/

    Many useful explanations and tips including: Cannot modify headers - already sent, The IE if (isset($_POST['submit'])) bug explained, unexpected T_CONSTANT_ENCAPSED_STRING, debugging tips and much more!

  • #6
    Super Moderator Inigoesdr's Avatar
    Join Date
    Mar 2007
    Location
    Florida, USA
    Posts
    3,647
    Thanks
    2
    Thanked 406 Times in 398 Posts
    In addition to the AJAX page you can have your script send an email to an SMS gateway(most carriers support this; something like 1234567890@somedomain.com) that will send them a text message to let them know an order has arrive.

  • Users who have thanked Inigoesdr for this post:

    Buffmin (11-23-2011)

  • #7
    Regular Coder
    Join Date
    Oct 2011
    Posts
    237
    Thanks
    11
    Thanked 5 Times in 5 Posts
    Quote Originally Posted by Buffmin View Post
    (I know there have been a few postings regarding this topic). A local pizzeria wants me to create them a website where people can order online. Do you think would be the best way to contact them when an order is placed would be by sending them an email? In which case they would would have to keep checking their email. Or maybe Outlook has an option of proving a "pop-up". Just looking for any ideas. Thanks, Buffmin.
    Ive just built a system similar to this for my local indian which i did for free for experience.

    I made it send an email which is sent to their pager which buzzes in their pocket when an order is placed.

    I also did a order page which refreshed through javascript every 120 seconds.

    I didnt do a sound which now thinking about it would have been a good idea

  • Users who have thanked devinmaking for this post:

    Buffmin (11-23-2011)

  • #8
    Regular Coder
    Join Date
    Aug 2011
    Posts
    192
    Thanks
    112
    Thanked 0 Times in 0 Posts
    Thanks all. You guys are amazing! Great ideas! I will have to get to work!


  •  

    Posting Permissions

    • You may not post new threads
    • You may not post replies
    • You may not post attachments
    • You may not edit your posts
    •