Post by ilkayturkoglu » Tue Jan 12, 2010 6:14 am

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.

Newbie

Posts

Joined
Fri Jan 01, 2010 10:24 pm

Post by dangkhoaweb » Wed Jan 13, 2010 11:44 am

yes certainly, when refresh page, you check in code if New Order <> "" --> add a flash with sound ...

Newbie

Posts

Joined
Wed Jan 13, 2010 11:34 am

Post by ilkayturkoglu » Wed Jan 13, 2010 3:48 pm

thank you, how well we can perform, please Can you give an example?

Newbie

Posts

Joined
Fri Jan 01, 2010 10:24 pm

Post by scot80 » Wed Jan 13, 2010 4:54 pm

Code: Select all

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

Active Member

Posts

Joined
Fri Nov 06, 2009 12:14 am
Location - Germany

Post by ilkayturkoglu » Wed Jan 13, 2010 8:39 pm

Thank you, so you can perform in order page, you can help, please?

Newbie

Posts

Joined
Fri Jan 01, 2010 10:24 pm

Post by ilkayturkoglu » Sat Feb 27, 2010 9:08 pm

Thank you, so you can perform in order page, you can help, please friends?

Newbie

Posts

Joined
Fri Jan 01, 2010 10:24 pm

Post by espc » Sun Feb 28, 2010 8:45 pm

where to add this?

God, give me courage to do what I can,
humility to admit what I can't,
and wisdom to know the difference.

Opencart mods (search suggestions and so on):
http://forum.opencart.com/viewtopic.php?p=71588#p71588" onclick="window.open(this.href);return false;


User avatar
Active Member

Posts

Joined
Fri Dec 04, 2009 12:40 am

Post by srunyon1 » Wed Mar 03, 2010 4:38 am

this would be good to when you add something to the cart.. like a swoosh sound... hmmm. where would you put this..?

Active Member

Posts

Joined
Thu Jan 28, 2010 3:03 pm

Post by espc » Wed Mar 03, 2010 10:27 pm

srunyon1 wrote:this would be good to when you add something to the cart.. like a swoosh sound... hmmm. where would you put this..?

God, give me courage to do what I can,
humility to admit what I can't,
and wisdom to know the difference.

Opencart mods (search suggestions and so on):
http://forum.opencart.com/viewtopic.php?p=71588#p71588" onclick="window.open(this.href);return false;


User avatar
Active Member

Posts

Joined
Fri Dec 04, 2009 12:40 am

Post by hottiger » Thu Mar 04, 2010 6:10 am

You could use this:

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

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

New member

Posts

Joined
Tue Jan 05, 2010 3:00 am
Location - United Kingdom

Post by ilkayturkoglu » Tue Apr 20, 2010 7:14 pm

Do you wonder if you can make a friend, a coder that can make us wonder Do

thnx

Newbie

Posts

Joined
Fri Jan 01, 2010 10:24 pm
Who is online

Users browsing this forum: No registered users and 8 guests