Shopify - A shop in minutes, a business for life.

26
Aug

James

comments 11

Among all the people who use Shopify, there is a huge spectrum of background knowledge and expectations. Some sign up because they want to start selling something right away. Shopify is great for them because they can choose one of our beautiful themes and get going without any hassle.

Others are web designers who need to create the perfect theme to showcase their clients’ unique products. Shopify is great for them too because it gives them complete control over a theme’s code.

But what about people who just want to change some colors or add a custom logo to the site, but don’t know HTML or CSS? What if you’re a designer creating that perfect theme, but you want your client to be able to make some predictable changes in the future?

This has been an issue with Shopify for a while, and we’re pleased today to announce new features which will empower both shop owners and designers in some really exciting ways.

The theme settings form

We have been thinking about the problem of theme customization for a long time, and we’ve looked at a lot of other products to see how they’ve tackled it. Eventually we realized that the best way forward was to let theme authors use their existing HTML and Liquid knowledge to make their themes as customizable as they wish, in the way that makes the most sense for that particular theme.

A designer can now include a file called settings.html in a theme. The HTML in this file contains form inputs (text fields, drop-down menus, checkboxes, and so forth) which are wrapped up in a form and shown at the top of the theme editor screen. Shopify juggles the HTML a bit before showing it to the user, and this makes it easy for dynamic controls like color pickers to be included by the theme author with nothing more than the addition of a CSS class on a text field.

The names given by the theme author to each form input correspond directly to properties on the new settings object exposed in each of the theme’s layouts and templates. Those properties contain the user-specified values entered in the form and can be used to customize the templates in whatever ways the theme author can dream up. We updated all of the standard themes available in each shop’s theme gallery to support customization in this way, and they allow the user to change fonts and colors, add site logos, and more.

There’s a lot of potential here beyond what we’ve already done with the standard themes, and we can’t wait to see what the Shopify design community comes up with.

Liquid assets

People have wanted this one for a while, and it’s finally here: now you can generate your CSS files using Liquid. Just put a .css.liquid extension on any file in your theme’s assets folder and Shopify will generate a corresponding .css file for you to reference in your layout.

The generated file is only updated when either its source .liquid file or the theme’s settings are saved, so settings is the only Liquid variable available within these files (all the usual tags and filters can still be used though).

Not only does this dovetail nicely with the new settings forms, it also provides theme authors with an easy and powerful way to write CSS that doesn’t become a headache to maintain.

Snippets

Another new feature which goes well with theme customization is snippets. Snippets are like mini-templates which can be included at any point within another template, or even another snippet. They live in their own folder within the theme and can be managed straight from the theme editor. Snippets are great for keeping a theme’s code organized, especially when you want the user to be able to change whole chunks of a page through the theme settings form.

As an example, a theme author might create a number of snippets to go in the shop’s sidebar, such as a product collection or blog feed, an “about us” blurb, and a notification of seasonal sale prices. They could then be easily swapped in and out with a few drop-down menus in the settings form.

Alternate layouts

One layout not flexible enough for you? Now you can create alternate layouts in the theme editor which can be associated with different templates by using the layout tag within that template. If your multiple layouts have a lot in common, you can use snippets to keep from repeating yourself.

Alternate templates

Sometimes one of your products or collections is just so exceptional that it deserves a style all its own. Or maybe your blogs and pages communicate such diverse messages that each should have its own look and feel. This kind of thing used to be a hassle for theme designers, but now it’s easy because you can create alternate versions of your templates to be used in specific circumstances.

Just as with alternate layouts, you can create these template variants from the theme editor. And when editing a product, collection, blog, or page, you’ll find a drop-down menu in the sidebar to select which template it will use.

One more thing…

Being able to generate stylesheets from Liquid is a huge win, but CSS files aren’t the only theme assets you can generate with Liquid. Check this out:

I think you’ll agree that with these improvements to Shopify’s theme system, web designers have an incredibly powerful creative platform at their disposal. More information on how to use these new tools can be found on our wiki:

11
Jun

James

comments 0

Are you a developer with an idea for a Shopify app that’s been buzzing around in your head for a while but haven’t known what would be involved in implementing it? Here’s a screencast we just uploaded that shows you each step involved in the process of getting a Shopify app online for anyone to use.

After signing up as a Shopify Partner, you’ll need Rails, Git, and a free Heroku account to follow along at home.

Update: The process for using API credentials in production have changed since the screencast was recorded. Instead of running shopify.yml through ERB, the shopify_app plugin now always looks for the environment variables for your credentials before resorting to shopify.yml. So shopify.yml should go in your .gitignore file as soon as you use the plugin’s generator, and then you’ll never have to worry about accidentally including live credentials in your code.

13
May

Dimitri

comments 3

Shopify is proud to announce a partnership with PowerReviews!

We’ve been hard at work since January working on an integration of PowerReviews Express™ with the PowerReviews team, and we’re very happy to announce that the integration is now complete and ready to be used by any Shopify store.

PowerReviews provides an excellent integrated product review system, called PowerReviews Express for your Shopify store. PowerReviews Express is specifically designed for small and medium-sized businesses, and the current integration with Shopify means it’s going to be easy to include product reviews for your products.

Some great features of the Shopify and PowerReviews Express integration include an at-a-glance review summary that makes product research easier, a feature that builds confidence with verified reviews, and the ability for customers to find reviews from people just like them.

Having customer reviews for your store has been shown as a way to increase sales significantly, and the integration process is very easy as well.

If you want to learn more, go here to see a screencast and learn more about PowerReviews.

And here you can request a great white paper that shows some of the benefits of having a review system.

Want to give Shopify and PowerReviews Express a try? Sign up here for your 30-day trial account and see what it can do for your store.

16
Apr

john

comments 22

We're excited to announce that we've updated our Product screen in anticipation of a great new feature we will be releasing very shortly.

You can check our screencast below to see how we've made our Product screen even better and easier to use. In the second half of the screencast, we sneak-preview our exciting new feature, Multiple Options for Products!

We hope you enjoy the new layout, and stay tuned to find out more about our new feature for products.

Enjoy!

10
Nov

Cody

comments 2


We recommend watching the high-resolution version on Vimeo.

Cody explains how to configure your Shopify store to use PayPal Website Payments Pro.

We will keep posting more screencasts here but you can also follow us on the Shopify Channel on Vimeo.

22
Oct

Daniel

comments 0


We recommend watching the high-resolution version on Vimeo.

Mike is back and shows how collections work in Shopify.

15
Oct

Daniel

comments 1


We recommend watching the high-resolution version on Vimeo.

Mike explains the basics of Shopify’s integration with Google Analytics.

We will keep posting more screencasts here but you can also follow us on the Shopify Channel on Vimeo.

browse archives »
Made in Canada

Shopify is being developed in the very heart of Canada's capital Ottawa