Updates, tips and notes on design and code
Looking for Shopify Code Snippets? See my GitHub Repo
Shopify has a bunch of Form Theme Tags to creates an HTML <form> element with all the necessary attributes (action, id, etc.) and <input> to submit the form successfully.
If you must check if something is a number within liquid there’s neat little trick you can use with the existing json filter. The filter has it’s own datatype check in place so it knows whether to wrap the value in quotes of not.
Creating a PDF of your Shopify products for offset printing does not have to be a painful task, nor do you need to be an expert.This is not an app with drag and drop editing, but rather you’d work with a designer (you know, me!) to create an awesome layout that matches your brand and colour pallete.
A client was struggling to edit large blocks of Shopify Metafield text (via Webify’s app) so I threw together a quick bookmarklet that changes the input field to a text area. So from this:to this:Plenty of people still use the app so I figured if it helped my client maybe it would help someone here too.
The default social icons on the Minimal Theme are a flat dark grey and whilst that’s generic enough to cover most stores, others need a splash of colour. If you are one of those stores, not having that option in the theme is a pain.