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!
1 Like
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!