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…

PHPMailer Contrib

Myself and a fellow developer were working on updating a two/three year old plugin we developed for Wordpress this week. Its a fairly complex plugin which in one of its functions, relies on getting the recipients of e-mails sent out by Wordpress. During our upgrading of the code, we…

Get Single Field Error in Symfony

This is just a quick tid-bit/how-to! Recently a project came up where special front-end actions and structures had to take place within the view of the Twig template once an error occurred on specific fields. It also didn't require enough attention to warrant creating a form theme. This is…

Woocommerce - Sorting Product by Category

This past week I was assigned to heavily customize a Woocommerce install on a client's successful store. What needed to be done on one task, was to give the customers the ability to filter products on the product's page by a specific set of categories. In other words: Only show…

Simple Password Checking with Symfony and FOS User Bundle

Recently for a project, a co-developer wanted to validate someone's record in the database from an Android application and the website was using Symfony 2.3 with FOS User Bundle. Specifically this developer did not want to log the user in, only to check their login against the database. So…