WooCommerce Performance Insights

Speed optimization guides, and performance data for WooCommerce site owners

Count Variation Sales (Shortcode)

We have previously learned how to display the number of sales for a specific product ID using a shortcode. However, this method does not work for variation IDs in WooCommerce, as WooCommerce only tracks sales … Read more

Order Number Prefix / Suffix

As you may be aware, WooCommerce utilizes the “order ID” (which corresponds to the ID of the order post in the database) as the order number. This order number is displayed in various places such … Read more

Rename The “Add to cart” Button Label

Unfortunately, changing the “Add to Cart” button label isn’t directly possible through WooCommerce settings. However, with a simple code snippet provided below, you can customize this label to say anything you prefer, like “Add to … Read more

Redirect URL With SKU To Single Product Page

Imagine if you could access your WooCommerce product page using a shorter and more engaging URL like example.com/sku00001 instead of the lengthy permalink example.com/shop/t-shirts/t-shirt-casual-v-neck. In this snippet, we’ll create a simple redirect that maps a … Read more

Empty Cart Redirect

An empty WooCommerce Cart page can be disappointing for customers, particularly if they’ve spent time browsing and adding items. To enhance their shopping experience, consider redirecting them to a more engaging page such as the … Read more