All my tutorials about WordPress and WooCommerce. Here you can find articles with and without snippets, written to teach you how to do things properly with WordPress and WooCommerce.

Adding an Empty Cart button to your store might look like a bad idea. Why would you want to make easier for your customers to empty the cart with one click? You don’t want them to leave without buying!

Do you know what is even worse than that? Having a grumpy customer. If the customer doesn’t want to buy it’s not a missing Empty Cart button that will make the difference.

So make their life easier and add it.

Read more

Have you ever seen post-sale selling techniques?

Not long ago I was shopping at The Postman’s Knock (if you want to improve your calligraphy you should check them out) and noticed that their shop runs on WooCommerce.

I purchased a product, and then on the checkout page I  noticed that they have a table of products related to their courses.

In their case, they are external products, but I thought to use that section to cross-sell some products post-sale. Let’s see how to do it!

Read more

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

Do you want your customers to pre-order their favorite products? Then WooCommerce Pre-Orders is what you need!

This extension allows you to create a product, and start selling before it is actually available to the customer. You can choose if you want them to pay in advance or at the moment of the release, and many other options! Have a look at the documentation to know more!

The only thing missing with this plugin is a bit of customisation for products that can be pre-ordered. The products have no specific class, nor a badge that indicates the possibility to pre-order them.

Let’s see how to add these things!

Read more