Now: Kegging

Under the tree Christmas day, there was a large wrapped box from my friends. It sat there for a whole week and I was extremely curious to what it was, especially for something that size to be shipped down to me. Christmas day came and I opened the box... I…

ActiveRecord and Liquid Drops with Sinatra

Normally I use ERB when doing templates but there was a special use-case recently where I needed to allow the app user to modify a specific template. Liquid templates (what Jekyll and Shopify uses) was perfect for this situation because it has a simple syntax for anyone to pick up…

Calculating Percent Saved with Shopify

Visually displaying to the customer how much they are saving is a big help to driving them towards a purchase. This is a simple snippet and guide to help you achieve this functionality in your Shopify stores. First, to calculate the percentage saved, lets look at the basic math for…

all_products... finally

Shopify has finally implemented a global variable for accessing products. Shopify has global variables for many things like Collections, Linklists, pages, etc, so you can do things such as access a collection by its handle collections.my-cool-toys.products. However, it always lacked the ability to look up products by their…

WP User Themes

I've released a unit-tested plugin called Wp User Themes. It allows users to switch themes in their profile section (useful for development!) You can checkout the plugin here Cover image credit: Ben Kolde…

Get Original Sized Images from a Wordpress Post Gallery

Recently I was working on a project where I needed to modify an existing page which had multiple galleries. This change required me to have access to the original uploaded images. Heres a simple function I wrote which returns the images easily in an array format. # Input Hey comes see…

Quickly Get All Products in Your Shopify Store with Ruby

This is a simple snippet I've used over-and-over again this year to batch process products (modify tags, pricing, etc). It simply calculates the number of pages of products, pushes each page of products into a master array and returns them all. Should work well for others so I thought I…

Developing Shopify Themes with Teams

This is a simple write up to explain how a team can utilize Git versioning to manage a Shopify theme successfully. Its not a complicated processes but will require patience! As a side-note, this is simply a personal recommendation based on my experiences, there are of course other ways to…

ACF: Simple Table

I've released a new GitHub repo. It's an add-on for popular ACF (Advanced Custom Fields) for Wordpress which allows you to create really custom post/taxonomy pages and more. I ran into an issue with a client a few months back where the client needed to enter table data but…

Cutting The Cord: Final Verdict

This should be pretty sweet and to the point! Because, it rocks. A month and so later, I still have no urge for the old-fashioned boring cable cord. Netflix and other streaming services have been above-and-beyond great for me. The selections are perfectly tuned for me, all the shows I…