In WooCommerce, order numbers are generated incrementally, making them predictable. To improve customization and security, we can add…


Change a user role if he makes a major purchase
In this article, you will learn how to automatically change a user’s role in WooCommerce if they make…

How to add an “empty cart” button in WooCommerce
By default, WooCommerce allows users to remove individual products from the cart page but does not include a…

Adding a custom button to the product list in WooCommerce
In this article, I will show you how to add a custom button to the actions column in…

How to make your plugin compatible with HPOS in WooCommerce
WooCommerce has introduced High-Performance Order Storage (HPOS) as a significant improvement in how orders are stored and managed…

Understanding PHP Namespaces
Namespaces in PHP allow organizing code and avoiding collisions between class, function, or constant names when working on…

How to Integrate WooCommerce with Slack to receive purchase notifications
If you want to receive Slack notifications whenever a purchase is made in your WooCommerce store, you can…

How to customize the WordPress login page
The WordPress login page is the gateway to the admin panel, and customizing it can give a more…

Display a floating notification with recently sold products in WooCommerce
Displaying floating notifications with recently sold products is an excellent way to build trust and create urgency among…

How to automatically apply coupons in WooCommerce
Coupons are a great way to boost sales in a WooCommerce store. However, asking customers to manually enter…

Using Transients in WordPress
Transients are a powerful tool in WordPress that allow you to temporarily cache data. Their main purpose is…

Create a custom and ligther WP ajax using SHORTINIT
WordPress provides admin-ajax.php for handling AJAX requests, but it can be too heavy for specific applications as it…