Updates, tips and notes on design and code
Looking for Shopify Code Snippets? See my GitHub Repo
There'll be times that you might want to use the "type" setting for a Shopify storefront search to change how content is shown in search.liquid.
There's no built in Liquid method to return the querystring values in a url with Shopify Liquid. There is a hacky way to get those values right now but it's far from being something I'd want to see used on a live production site - let's explore it.
If I was designing a password template for a client I'd generally always add the code for that page into a snippet. The reason is pretty simple - it makes it a lot easier to preview the design without locking the store.
If you've found this post by the power of Google it means that you're doing cool things with Shopify Liquid, but you've hit an error. Let's talk quickly about the limit.
The Shopify API doesn't provide a simple way to search for products with a certain SKU code. With some alternate templates and the storefront search let's look at a simple way to add a JSON endpoint for SKU searches.
I'm one of those web devs that likes to make both my source code and the output look at pretty as possible. Pretty output to me is with as much whitespace and bloat removed so a recent update to Liquid makes this simple! Let's explore it.
Since usage of the Fetch API is growing I've started to see a few people having issue with POSTing to AJAX add.js endpoint.
Most people I talk to assume that ShopifyFD must be generating serious amounts of cash given the large user base. The figures are still decent but no one is buying an island anytime soon - let's have a peek at some numbers from the last two years.
A great way to showcase your press appearances is with a social proof page showing those publications you're featured in. Dedicated blogs make it easy to feature collections of publications, so let's explore how.