I want to create a countdown timer that is specific to each product.
For this to work the countdown end date needs to be determined in the product CMS.
Any idea if this is possible?
Here is a link to a cloneable countdown
Any help would be greatly appreciated!
Hi @Leigh_Agius ,
I think that’s doable.
You’d need to add a text field in you product collection with the date formatted exactly the same as in the custom code.
Then replace what’s inside the apostrophes with a dynamic link to the date in your collection.
You cannot use a time/date field as it will be formatted differently and you’d need custom code to convert it.
Had no idea you could do that.
Thanks heaps @ColibriMedia
I hope you are doing well.
I am looking for the exact same solution, but I am new to webflow. Do you mind posting some screenshots that explain how you achieved this?
Thank you for your time.
Have a great week.
@ColibriMedia is probably better to explain but I can try and break it down.
You need 3 things:
- A custom field in your product CMS
- The code from the above “Project Countdown” which you paste in your custom page settings. Tutorial Link
- Replace the date section “2021/07/04” in this code with a dynamic link which is done by clicking the add field + on the top right corner.
The field I created was called “Pre Order Countdown” see image where I replaced the date section with this link.
In my product CMS I have the desired date written in a field so when you set up your products you can choose.
Hope that helps!
I hope you are well.
Thank you for taking the time to do the screenshots and detailing your response. It really helps me to what I am trying to achieve, and I’ll implement it soon.
Have a wonderful week.
Nice that you provided with all implementation! Thanks!
Is there a way to do this on a collection list since you don’t have the option to “add field” when you try to put the code on a static page
@alialkofee Hello, same problem, I want to implement this system in a static page but I did not find any solution or topic that answer this question. @alialkofee @Stan
Thanks for these information but an additional question.
I have the countdown timer on two collections but only one is working and the other one shows 00:00:00 Is there a workaround for this problem?
Example 1. PastelBudz
Example 2. (Not working) TheInvisionClub