How to add a cutoff window countdown to your theme

Follow

Comments

6 comments

  • Avatar
    Manuel

    Thank you for this great script. I am using it for a subscription service, which I will launch in March.

    The script worked great until the new year started and it showed that the shop will open in 2 months, however after the new year started, it shows the cut off day of the current month.

    Is there any fix to this bug?

    Thank you and Best Regards
    Manuel

  • Avatar
    Pratik Khadloya

    How do we remove the minutes and seconds?

  • Avatar
    Chris Hinson

    Just FYI - if you're using a Mac, it's not so specific how to create a .js file.  Normally, JS files work fine with simply .txt, but if needed, you can download TextWrangler (free) or a similar text editing program and copy/paste into a new file and rename it .js.

  • Avatar
    Justin Rumley (Edited )

     

    I got it to work but would like to know how to suppress the seconds and also set it to a weekly schedule since I ship each week. 

  • Avatar
    Saar Drimer

    I'm also wondering how to configure it so it doesn't display seconds and/or minutes. Tried a bunch of things and consulted http://countdownjs.org/readme.html without success. Any pointers?

  • Avatar
    Dale Flink

    I've loaded the code, but when I look at it on my site now instead of a time it's just saying (loading), and it never loads a time. What did I do wrong? :( Also, how do I customize the font, size, color, ect?

Article is closed for comments.