Updates, tips and notes on design and code
Looking for Shopify Code Snippets? See my GitHub Repo
I've done a few different Liquid only sorting posts here before so let's run over another. This one will cover sorting products based on the stock count of product (and variants within).
MailChimp data driven campaigns can be automatically filled with content pulled directly from your RSS feed. This is pretty darn cool, but a common issue for Shopify custom feeds is that the image does not appear - let's fix that.
If you're using Disqus (like me) you'll find that existing comments on your Shopify post will vanish after making any change to the handle. With a minor addition to your embed code you can keep rocking those old comments without concern.
A common question that pops up from Shopify Merchants is how can the article ID be removed from the Article URL. The answer is super simple (and built in!) thanks to recent update.
Offsite backup, cloning and copying your Shopify store might prove an interesting challenge, but the API does give you all the tools you need to do cover the important things. Let's explore some free options along with any apps that might be about.
A common question I get is how to setup the Chrome Extension for Custom Fields. I did make a PDF doc to assist, but it could have some improvements - let's try some gifs instead.
Most people that need to know the total stock value are already likely to be using a third party Inventory Management System, ERP (or similar). If you want to know what your total stock value is you can grab that info via the API - let's look how.
When wanting to view Shopify collections with varied amounts of products per page (aka, pagination) the usual method involves creating a series of alternate templates. Let's explore an idea that ditches the multiples, and just uses one.
A/B split testing is super interesting and can result in data that will help merchants make more informed choices about their storefronts. Generally these tests are best left to apps there's still ways to do this within your Shopify store with some Theme code alone - let's take a peek.