Building Tictail themes with Grunt, Bower and other modern development tools and techniques

Are you building a theme for a Tictail store? In this blog post we'll share how with we did when building our online snowboard store The Kong Initiative (more info).

When choosing ecommerce platform we early realised that Tictail by far was the best way to go for us. It's a no brainer to setup an account, very affordable and has a plethora of apps that solves the most basic problems.

The big issue I had with them though was their theme editor. It's just like on Tumblr where you have one big text field where all your code is stored. Being stuck inside that is not the most enjoyable thing as developer in 2015. That's not how we do things these days.

I did some googling and found out that @javve had created a simple Sinatra app called Tictail theme builder. A pretty clever thing that downloads your store data, spins up a local environment and lets you build your theme. When you're feeling done it lets you export the theme which you then paste into Tictails theme editor.

In the README @javve raises a warning of the backend not being the best. It also lacked of stuff like Grunt and Bower. So me and Ivan sat down and improved it by making a lot of changes of the Ruby code and some other stuff to make it fit how we do things here at Kollegorna.

The result is a completely revamped version. Some highlights:

  • Refactored Ruby code, specs…
  • Front end package management with Bower
  • Automation with Grunt
  • Simple deployment of assets with rsync

We've published everything on our Github account. For more in depth information and how to use it see the README. Feel free to fork and/or improve it!

kollegorna/kong-tictail-theme

Since we started building this Tictail has released gulp-tictail and a theme example that also simplifies things when building Tictail themes.

Loading comments…
All rights reserved