Updates, tips and notes on design and code
Looking for Shopify Code Snippets? See my GitHub Repo
For some stores the map on the Shopify Order status page can actually add confusion - especially if you don't ship products and are pickup only. There's a simple enough way to hide the map so let's peek at some code to do it.
Every now and again I see merchants creating alternate templates in their account that actually breaks some common Shopify code. The code assumes that if a template name contains the word 'product' that it must be a product template - that's not always the case.
Shopify recently dropped the sweet news that SSL is available for all accounts! As part of the activation process existing stores need to make sure the assets (images, css, js, etc) used in the site are not linked up with unencrypted urls. If you've got a serious case of FOMO want to activate without fixing the urls (why crazy person, why?), here's how.
The cycle Liquid filter is useful when you need to output a series of known string parameters in a sequential order loop. One thing cycle doesn't do is give you the ability to use dynamic amounts of assigned variable data - let's look at a quick way to do something just like it.
There's micro edits being added all the time but this month there was a few meatier additions so it's worth making a blog post about. Let's take a quick peek at what new things might be lurking under the hood.
There's going to be times when you want to show a list of the most recents articles (posts) from all your Shopify Blogs combined - not just pulling the latest ones from a single Blog. Since I saw the question pop up on the ecommerce forums again, I grabbed a vodka and wrote some code.