I’ve tried a couple of tutorials (including this blog and this video) that create a new announcement bar section and the ability to create a timer. However, while the section creation and text bar are successful, all attempts at creating a timer have failed. It like the page is incapable of recognizing variables. Any help on this issue would be great, thanks!
Hi @Winhac3
if you don’t mind pls try this tutorial.
yes, please Announcement bar code
Hello @Winhac3 ,
To help you better, can you share the screenshot of the error while following this documentation?
You might get an error with JQuery while using the code of this documentation. So, could you try to add the below code after the first line i.e. {% if section.settings.enabled %}
Code:-
Documentation:-
https://www.mageworx.com/blog/boost-sales-with-announcement-countdown-timer-bar-shopify
Result:
{% if section.settings.enabled %}
//Rest of the code goes below
Let us know if it works, or if you need any further help.
Regards,
CedCommerce
This seemed to do the job actually! Thank you so much!
Hello,
It is a bit late, but another way to go is to make your Countdown Timer be the announcement bar, not a part of it. There are many apps in the store that allow you to customize the Countdown Timer, enable triggers, and add texts, buttons, etc. This way, you can use one app and embed it on desired pages (or all pages).