Adding Custom Fields to Simple Products With WooCommerce
read more
Categories

Adding Custom Fields to Simple Products With WooCommerce


WooCommerce is arguably the most popular way to sell products using WordPress. With WordPress powering roughly 25% of the Internet and WooCommerce powering roughly 39% of all online stores, it’s a safe bet to use the two in conjunction with one another if you’re looking to market goods to customers.

But, as with any software, there are times where we or our clients often want to extend the feature set beyond what’s offered out of the box.

Case in point: With WooCommerce, let’s say that you have a simple product that you want to sell but you want to include a little more information about the product to display on the front-end.

Using a couple of hooks provided by WooCommerce and custom functionality that we’ll write, we’ll take a look at how we can do exactly that.

Required Tools

Before we get started, I assume that you have the following setup (or something comparable) on your machine:

Your operating system of