Updates, tips and notes on design and code
Looking for Shopify Code Snippets? See my GitHub Repo
This is not a documented feature so expect this to vanish at any point. Adding this should be considered experimental at best.
When doing general testing and updates to a Shopify site you invariably come across something that needs to be edited. Rather than loading up the admin, heading to the right section, and then editing the object it's far easier to just click an edit button on the page itself.
It's now public news so now I can post something! All the crazy excitement aside (and the fact I found out on my birthday) I have to give serious props to The Wod Life. The crew worked their butts off all year and absolutely deserve the win.
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.