Anyone have any suggestions on creating a function that mimics a live sales feed? Perhaps recall data from a database of customer name, item purchased, etc and show a hidden text box pop up and auto display this data on a timer trigger?
Hi,
Do you have an example of what you want to achieve so that we can better understand what you were referring?
Thanks,
Tal.
A small text box that appears on the page at timed intervals, displaying a customer name and the purchase they made. It should remain for a few seconds before being replaced by the next one.
Something like the “Herd Effect” plugin here:
Brian, I think it could be done. There is basically 1 decision to be made: for as long as visitor stays on page, would it be enough to fetch like the 5 last sales AT THAT MOMENT and display them in a never ending loop for n seconds (on a time-out, as in 1, wait, 2, wait, … and after 5 display 1 again) or would you care for constant updating. I would not advise the combination of a timeout and a data fetch, since data are retrieved async, so you are never really sure when you get them. You could do a pre-fetch on the first display, hoping that after (let´s say) 5 sales displayed for 3 secs=15 secs the dataset must have been refreshed, but it is tricky.
Thank you for the great recommendations! I don’t need constant updating at this point, so your initial suggestion would certainly work.
What level of complexity would you say this would be? Low, Moderate or High?
I do not know how well acquainted you are with Wix code, but solution 1 should be regarded as Low.
I am a novice when it comes to wix code…stumbling my way through it
hi is there an update to this? Did you figure it out.
Any news some one ? : ]
Any news guys about the solution, would be very helful to get that working:) Cheers
Hey Brian! did u found maybe a solution for that ?
Any news?