How to Add a Custom Status Tools Action in WooCommerce blog image

How to Add a Custom Status > Tools Action in WooCommerce

Posted on September 04, 2023

As a plugin or theme developer that works with WooCommerce you may have some actions that need to be ran incidentally. Maybe on an schedule, or allowing this action to be triggered manually. The latter is what I’m focussing on in this post today. WooCommerce has a place for adding such actions in the WooCommerce […]

How to Use the WooCommerce Logger

Posted on May 31, 2022

The WooCommerce Logger functionality is a very useful tool for developers, website builders and code dabblers. In my opinion it is not the best to replace an actual error log such as the PHP error log, but it can be very useful for logging debug data for a theme or plugin. Another use case I […]

Disable Out of Stock Variations in WooCommerce

Posted on March 21, 2022

WooCommerce already has a setting to completely remove products/variations products when out of stock. This means they’re no longer visible on shop pages or on product pages for the variations. If your store offers products that come back in the future it is a good idea to not completely remove them. Showing variation as disabled […]

How To Add Custom Front-End Fields in WooCommerce

Posted on February 17, 2022

In a previous post called Adding custom WooCommerce product fields I wrote about how to add custom fields in the backend for products. As a follow up on that, this post will guide you through adding (those) custom fields at the WooCommerce front end, including adding the custom field values to the cart and in the order. […]

Adding a Icon to External Links

Posted on October 12, 2021

Many times there are links to internal and external sources within content. For a reader it’s not always clear if they’ll be taken to a different site or stay on the current site. Hovering over a link to check the left bottom corner matches the domain is simply a inconvenience. You and I can both […]

How to Add ‘Help’ Tabs in WordPress

Posted on August 24, 2021

The ‘Help’ tabs can be found all over in the WordPress dashboard. They can be helpful in providing information to customers on how to use a feature in your plugin. I recently started adding information to the ‘Help’ section for my own plugins and customers have found it very useful to find the additional information […]

Custom Stock Quantity Reduction

Posted on July 11, 2018

When selling single products that are also available in bulk packages like 4 packs, 6 packs or 12 packs it may raise some inventory issues. Sure it will work well if all those products are separate and they can’t be split up, but when selling bottles of wine for example its common to be able […]

Ultimate Guide to WooCommerce Checkout Fields

Posted on June 21, 2018

This post is meant as a one stop shop if you’d like to make any kind of customizations to your WooCommerce checkout fields. Whether this is adding additional fields, removing some unneeded ones or changing the order they’re displayed in. Additionally there will be guides on how do display fields two field side by side, […]

Taking Full Page Screenshots With Chrome

Posted on April 05, 2018

In the past I’ve always used a Chrome browser extension to create full page screenshots. Although it worked “okay”, it was never really what I was looking. It was a bit slow, you had to go through a editor and the download link of the actual file was a bit hidden away. Taking a Full […]

How to Block Dashboard Access for Non-Admins

Posted on March 19, 2018

So you’re building a website and want to create the best experience for the visitor. What doesn’t take par in your vision is the standard and out of context WordPress admin bar and dashboard (/wp-admin). You want this gone and forgotten about for your logged in users as quickly and cleanly as possible. There are […]