All my articles regarding WordPress can be found here. It includes generic WordPress articles, tutorials and snippets, and others specific for WooCommerce, and other WordPress plugins.

It’s not unusual that products need to be handled singularly in an order, or that they can’t be sold in more than one unit.

WooCommerce covers the second case so you can limit customers to buy only one unit of a specific item per order. The first case instead is not covered by default, but it’s still possible to handle it with some custom coding.

Let’s see how to do both.

Read more

Raise your hand if you like to get the New Order email notification in your inbox! Yeah, I know, everyone would raise their hand! But just receiving an order is not enough. You need to handle it properly, and sometimes edit it to meet the customer needs.

Learn here all the details about how to edit orders in WooCommerce.

Read more

If you own a Discord server and a WordPress website, you should probably check out my plugin WordPress Discord Post.

This plugin is an integration between your WordPress website and your Discord server, sending to the second one messages when a new post is published, or a contact form is submitted, or even when a new WooCommerce order is received!

Many people though asked me how to send to Discord only posts from specific categories. Here you can find a snippet for this.

Read more

Have you noticed that in the Storefront theme there are footer credits for the theme itself and WooCommerce?

It is possible to hide those credits from the Customizer in the Footer section, but it’s nice to keep them around to support the developers. It might be useful though to add your company name as well or change the text to something else that you prefer.

You can do it, as always, via custom code!

Read more

Hammers which all looks the same

When you create a new product, by default WooCommerce leaves the price empty, and if you don't set one, the product will be considered free.

There might be cases where you do not want to manually set a price, but still do not leave it empty. Setting a default value would be the solution.

How can you do it with WooCommerce?

Read more