Ever wonder which type of the stores are on Shopify platform? What they are selling? Its interesting data to view? We have answers! We scraped all .myshopify.com domains and here are the results.

Image for post
Image for post
We scraped all MyShopify Domains

At Hartt Media, we do a lot of things. From providing private app development, design, migrations, and support. …


There are few Shopify apps that do a great job providing “You are X amount away from free shipping”, but in case you don't want to install another app, there is a way of adding a small snippet of javascript that will do the same thing.

Image for post
Image for post

Most of the themes have the onCartUpdate event that will trigger some actions on the javascript side to update some parts of a page (eg cart counter).
This can be found at Assets folder in your Shopify theme.
Open file ajax-cart.js.liquid or similiar (main.js.liquid) and search for function onCartUpdate. Found it? Great!

Let’s create our function which will be called on onCartUpdate

About

HarttMedia

We Are Shopify Experts | Is your store online? If not, we want to help you get started today. Give us a call at https://harttmedia.com

Get the Medium app

A button that says 'Download on the App Store', and if clicked it will lead you to the iOS App store
A button that says 'Get it on, Google Play', and if clicked it will lead you to the Google Play store