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.

At Hartt Media, we do a lot of things. From providing private app development, design, migrations, and support. Recently we started with building our in-house ML apps and big data services.
The first usage of our big data service was getting all .myshopify.com domains and scrape their content so we can analyze it and see interesting key points.
After a few months, we have now a good amount of…


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.

Finding the event

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!

Creating a function

Let’s create…

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