How to add a Breaking news bar to your Shopify store

  • by

Would you like to add a “Breaking News” segment on top of the landing page of your online store? It might incorporate hot arrangements, hot deals, hot news… that clients are extremely intrigued by..

  • From your Shopify administrator, go to Online Store > Themes.
  • Under the Snippetsfolder, click Add another scrap.
  • Give your scrap the name breaking-news and snap Create piece.
    {% for article in | limit: 10 %}
  • {{article.title}}
  • {% endfor %}
  • In the online code editor, copy the below code and paste to the content..
  • Click Save.
  • To place a breaking news bar wherever you like, you only need to insert the below code

In this aide, I get the articles from the News blog (the default blog of Shopify). As a matter of fact, you can recover any blog or items in assortments you need. To do that you should change the article in for circle in breaking-news. liquid record.

I’m utilizing the jQuery Easy Ticker module. You can peruse the archive of this module to custom for your “Breaking News” bar with your style.

Leave a Reply

Your email address will not be published. Required fields are marked *