A family friend of mine has a small e-commerce store and asked for my help setting up a promotion. They are doing a coupon that rotates depending on the hour of the day.
For example from 1pm-2pm the discount could be 20%
from 2pm to 3pm it could be 30% etc
What i'm hoping for is some kind of script that will display a different image based off the users local time. I'll specify 3 images for the 3 different coupons, and i'd need the script to display the correct image based off the users local time.
This coupon will be displayed on a wordpress blog.
Anybody have any ideas?
For example from 1pm-2pm the discount could be 20%
from 2pm to 3pm it could be 30% etc
What i'm hoping for is some kind of script that will display a different image based off the users local time. I'll specify 3 images for the 3 different coupons, and i'd need the script to display the correct image based off the users local time.
This coupon will be displayed on a wordpress blog.
Anybody have any ideas?