Cannot combine contains and other logical tests Annoyance: This doesn’t work: Solution: You have to nest your conditionals — first check the contains, then make your other checks Type Casting Liquid is loosely typed, which usually makes things simple, if sometimes unpredictable. Annoyance: you don’t need to declare a variable as a string or integer, […]
A couple of years ago, I wrote about how to create breadcrumbs for products that would mirror the main menu of a Shopify site. In reality, that was a quick and dirty method that I had to quickly update a month later, but never got around to writing up the better version. As I noted […]
You have worked and worked on a spreadsheet or document in Google Sheets or Google Docs (and probably every other GSuite component). You’re finally ready to print and you hit Print, then Next and… BLANK! This is incredibly aggravating and judging from the articles around the web has dozens of causes. None of the solutions […]
Are you tired of having dates in WordPress permalinks? I’ve been working on two sites lately where events tend to come back around every year. But if the URL has a date in it, that’s confusing to the visitor and will hurt click-through in Google. In both cases, we wanted to switch to a simple […]
I know. You’re here because you’re sure you’re missing something. You can’t figure out how to create multi-dimensional and associative arrays in Shopify. Sadly, you’re not missing something. In fact, while you can access multi-dimensional arrays just fine, you can’t assign values to them. Similarly you can access objects with named members that have values […]
I wanted to publish a blog post today about using Shopify menus to drive hierarchical breadcrumbs. Then I realized that, as near as I can tell, there is nobody who has a syntax highlighter for Liquid, the templating language that Shopify uses. So I created one. This is an pre-pre-alpha experimental plugin, but it’s working […]
Shopify breadcrumbs can be hard because there’s no way to organize them by default and Shopify has no way to establish a parent-child relationship between collections. But you can use your menu structure to create just such a relationship to build intelligent breadcrumbs. Here’s how!
We struggled for a long time to find a system for managing our vacation rental that did not involve pain and suffering. By combining Streak, Zapier and Google Apps, we finally found something that works for us much better than Quickbooks or other systems. It’s not for everyone, but it might be for you.
In the last couple of days, I deleted the Pocket app from my phone and deactivated my Facebook account. Pocket was becoming a borderline addiction — I’ve always been an avid article reader and Pocket was a major enabler. It was really getting in the way of my New Year’s resolution to read fewer articles […]
I needed to set a daily bandwidth limit for our vacation rental, which turned out to be easy once I found the right hardware and software.