How to Automate your Build and Deploys for Shopify with Github and Codeship

February 25, 2020

How to automate your build and deploys for Shopify with Github and Codeship Out of the box, developing themes for Shopify can be an onerous process, requiring the use of a web editor, and little ability to control changes to the code. Modern development workflows include the use of a code versioning system, such as

How to use custom pivot tables in Laravel 6.x

November 18, 2019

Have you run into this before? Your app’s database table structure is predefined and unalterable. There are lookup tables (called pivot table in Laravel) that create many to many relationships between tables using YOUR naming convention. It makes sense in the context of your application, but you quickly find out that Laravel’s relationship defaults do

How to fix a WordPress HTTPS redirect loop with an NGINX reverse proxy

September 16, 2019

If your WordPress site is set up to use HTTPS and a reverse proxy, such as an NGINX reverse proxy, is put in front of it you may wind up with an infinite redirect loop. Following the redirect in dev tools, it looks like this is happening: https://example.com -> https://example.com A head scratcher for sure,

How to Backport WooCommerce Security Patches Using Git and Composer

August 13, 2019

We all love the idea of staying up-to-date with software, ensuring the latest features and security patches are available. From time to time though, business requirements may keep us at a specific, tested, version of software. It is not uncommon to find mission critical apps stuck in an older version due to customizations and testing

How to Get Query Statistics from MySQL for Performance Monitoring

August 1, 2019

Here at Mindsize, the performance of your online store is of the highest priority to us. We employ several methods of monitoring performance and gathering metrics. I want to highlight one method that gives us insight into the number of queries running on your MySQL database server. It is useful on a single site, and