WordPress Tutorials

WooCommerce: Create An Order From Another Website!

This is going to be a great tutorial. And it works for sure, because I’ve just implemented it on the

WordPress Tutorials

WooCommerce Database Explained: How It Works and Where To Find Data

The term “database” is widely used and known to millions of people, but the proportion of people who have it

WordPress Tutorials

WooCommerce: Update Order Field Value After a Successful Order

We’ve already seen how to update user meta after a successful order, but this time our goal is to “correct”

WordPress Tutorials

WooCommerce: Add New Row @ Order Totals (Email & Thank-you Page)

While working for a freelance client, I did some research on the code that generates the “Order Totals” table. This

WordPress Tutorials

WooCommerce: Save & Display Order Total Weight

For tracking purposes, or maybe because your shop manager needs to be aware of this, saving the total weight of

WordPress Tutorials

WooCommerce: Check if Product ID is in the Order

Once a customer places an order, you might want to know if such order contains a given product ID. you

WordPress Tutorials

WooCommerce: Add New Row @ Order Totals (Email & Thank-you Page)

While working for a freelance client, I did some research on the code that generates the “Order Totals” table. This

WordPress Tutorials

WooCommerce: Add Order Notes to WooCommerce PDF Invoices

I use the “WooCommerce PDF Invoices & Packing Slips” plugin, available on the WP Repository, to invoice my clients. At

WordPress Tutorials

WooCommerce: Check if Product Category is in the Order

We already saw how to check if a product category is in the cart, if a product ID is in

WordPress Tutorials

WooCommerce: Disable Customer Order Email for Free Orders

There are times when you sell free products to give customers access to a membership, an online course, or for

WordPress Tutorials

WooCommerce: Get Order Info (total, items, etc) From $order Object

As a WooCommerce development freelancer, every day I repeat many coding operations that make me waste time. One of them

WordPress Tutorials

WooCommerce: Add Column to Orders Table @ WP Dashboard

The WooCommerce Orders Table, which can be found under WP Dashboard > WooCommerce > Orders, provides us with 7 default

WordPress Tutorials

WooCommerce: Set Custom Order Status for New Orders

All WooCommerce orders go to either “processing”, “completed”, “on-hold” and other default order statuses based on the payment method and

WordPress Tutorials

WooCommerce: Send Email to Admin Every 3 Hours (Cron Job)

This snippet consists of many WooCommerce tasks: setting up a “WordPress Cron Job” (i.e. schedule a hook that runs on

WordPress Tutorials

WooCommerce: Set Checkout Field Value @ Order Creation

This is a very specific function. Sometimes, you need to “set” a checkout field value upon order creation (because it