Apply Free Shipping for Specific Products in WooCommerce

Posted on December 03, 2015

Applying free shipping on orders can be great incentive for (potential) customers to order on your website. In some cases it is not possible to ship all products free and you only want to ship a specific product or group of products to ship for free. In this post I will go through setting this […]

Only show free/cheapest/most expensive shipping in WooCommerce

Posted on November 19, 2015

You may have setup different shipping rates in your WooCommerce store. What you want and need to charge for shipping is different in each webshop and it is very hard to set things up exactly the way you need it. In this post I will show you how you can only show the cheapest shipping method or the […]

Automatically link Post Titles to their pages (in the content)

Posted on October 28, 2015

For my other blog (Code Quality Code) I’m referring a lot of times a other post as they are all connected to each other. Of course I wanted to automate things and not manually link every time I mention another blog post. To accomplish that I’ve made a small peace of code that will automatically […]

How to add template files in your plugin

Posted on October 21, 2015

If you’ve worked with WooCommerce before on a website then chances are you’ve also had to copy some of their templates files to your own theme in order to make sure structural changes to the page. This is a great system if you need to output HTML and still want to allow the end-user to […]

Enable/Disable payment gateways for specific shipping methods

Posted on October 14, 2015

There are different reasons why someone wants to specifically enable or disable specific payment gateways for some shipping methods. In this post I will show you how you can enable or disable payment gateways based on the shipping method with a code snippet. Disable payment gateways for shipping methods For this example I will disable […]

Keeping a different (sub-) menu highlighted in WordPress

Posted on September 30, 2015

I’ve already written dozens of WordPress plugins. In some of these plugins I use a Custom Post Types to allow users to setup and configure certain elements the way they want. When, for example, building a WooCommerce extension and I need a settings area, this could go under the WooCommerce -> Settings pages by creating a new page as […]

How to include your WordPress.org plugin download count

Posted on September 25, 2015

My current number of downloads is; For my new website that I launched a couple months ago I included a ‘live’ download counter from my WordPress.org plugins. There are a couple ways of adding a counter like that on your site, and one way would be to download and use a existing plugin from the […]

How to include the WordPress media selector in your plugin

Posted on September 25, 2015

Recently I had to include a image selector in one of the plugins I was developing. Going for the pure WordPress look and feel, I really wanted to use the image selector everyone knows from the ‘Add Media’ button when you modify a post. To accomplish this, you’d need to go through a couple of […]

Introducing WooCommerce Advanced Fees

Posted on September 16, 2015

A couple weeks ago a new plugin I developed has been released on Shop Plugins. The plugin is named WooCommerce Advanced Fees and as you may imagine it will allow you to set extra fees for an order. As my other ‘advanced’ plugins that I’ve developer this one also has a conditional logic system in […]