Page 1 of 1

Play a sound for new order (Help please)

Posted: Tue Jan 12, 2010 6:14 am
by ilkayturkoglu
Hi there,
I'm currenly using OpenCart version 1.3.4. There are a few things I would like to ask and learn how to do:
What I want to do is to play a sound alert when a new order comes through.
For example,
I have 3 order statuses in the system, these are: "New order","Order completed",and "Order canceled".
I have added the code to make the page refresh once a minute and this works fine.
But I want to do the following and dont know how to:
When the page is refreshed, if there is an order which has the order status "New Order", play a sound effect.
Is this possible to do?
Many thanks,
Ilkay.

Re: Play a sound for new order (Help please)

Posted: Wed Jan 13, 2010 11:44 am
by dangkhoaweb
yes certainly, when refresh page, you check in code if New Order <> "" --> add a flash with sound ...

Re: Play a sound for new order (Help please)

Posted: Wed Jan 13, 2010 3:48 pm
by ilkayturkoglu
thank you, how well we can perform, please Can you give an example?

Re: Play a sound for new order (Help please)

Posted: Wed Jan 13, 2010 4:54 pm
by scot80

Code: Select all

<embed src="yippee.wav" autostart="true" hidden="true">

Re: Play a sound for new order (Help please)

Posted: Wed Jan 13, 2010 8:39 pm
by ilkayturkoglu
Thank you, so you can perform in order page, you can help, please?

Re: Play a sound for new order (Help please)

Posted: Sat Feb 27, 2010 9:08 pm
by ilkayturkoglu
Thank you, so you can perform in order page, you can help, please friends?

Re: Play a sound for new order (Help please)

Posted: Sun Feb 28, 2010 8:45 pm
by espc
where to add this?

Re: Play a sound for new order (Help please)

Posted: Wed Mar 03, 2010 4:38 am
by srunyon1
this would be good to when you add something to the cart.. like a swoosh sound... hmmm. where would you put this..?

Re: Play a sound for new order (Help please)

Posted: Wed Mar 03, 2010 10:27 pm
by espc
srunyon1 wrote:this would be good to when you add something to the cart.. like a swoosh sound... hmmm. where would you put this..?

Re: Play a sound for new order (Help please)

Posted: Thu Mar 04, 2010 6:10 am
by hottiger
You could use this:

http://plugins.jquery.com/project/sound

Although personally any form of sound would annoy me as a user.

Re: Play a sound for new order (Help please)

Posted: Tue Apr 20, 2010 7:14 pm
by ilkayturkoglu
Do you wonder if you can make a friend, a coder that can make us wonder Do

thnx