
Shopify has some new toys for you designers to play with. When you go to your shop’s theme editor, you’ll find two new files listed as optional templates:
search.liquidand
404.liquidClicking on either of them adds it to your theme, allowing you to customize the look of your search results and “404 Not Found” pages just like you can customize the other pages in your shop.
You might notice that the top of the default 404 template contains a new liquid tag:
{% layout none %}
This instructs Shopify to render the template without a layout, which makes sense because the 404 template contains everything it needs to be parsed as valid XHTML. As you might guess, the layout tag is also meant to allow a template to use other layouts besides the default
theme.liquidAlternate layouts aren’t available to everyone quite yet, but they’re coming soon.
For some 404 page inspirations visit pattern tap.
Glad to see you find Pattern Tap useful for your design inspiration needs! Psyched to see Shopify add this customization too. Well done!
I noticed this last night as I was doing stuff on my theme… so cool! I was wondering about the layout none thing, too – so reading this today helped me pull that out & style it in there. Super happy about this – thanks so much for continually making Shopify the best cart out there!
xo
w
Love it! Already added it! Been wanting this feature! Thank you thank you!
I added Google’s Enhance 404 pages widget to mine, check it out:
http://googlewebmastercentral.blogspot.com/2008/08/make-your-404-pages-more-useful.html
Nice to have even more flexibility. Now how’s that contact form coning?
Sweeeeeeeeeeeeeeeeeeet! Thank you :)