WooCommerce PHP 8.1 Requirement: Upgrade PHP Before 11.6
WooCommerce 11.6 requires PHP 8.1. Check your PHP version, scan plugins for PHP 8 issues and upgrade your store safely before February 2027.
WooCommerce 11.6 requires PHP 8.1. Check your PHP version, scan plugins for PHP 8 issues and upgrade your store safely before February 2027.
Here are a few useful one-liners that you can use to quickly remove all WooCommerce products from your store. Another approach: PRO TIP:If you are considering deleting items in WooCommerce, please be aware that this action cannot be undone. Once you have deleted an item, it will be permanently gone from your store. Before taking … Read full article →
To display the total number of WooCommerce products, you can use the following code snippet: <?php $products = wc_get_products(array( ‘limit’ => -1 )); echo count($products); ?> This code uses the wc_get_products() function to retrieve all published products, with no limit on the number of products returned. The count() function is then used to count the … Read full article →
To use WP REST API from another website to display WooCommerce products, we first need to generate new API keys under WooCommerce > Advanced > REST API We can then use these keys along with the website URL to display the data: 💡 Make sure to replace website_url, consumer_key and consumer_secret with your data. By … Read full article →
For years WooCommerce was showing the Serbian currency as дин. but this was recently changed to рсд. and now Serbian currency is available in WooCommerce only in Cyrillic script (РСД). You’ll see more details here. But because the Serbian language can be written both in Cyrillic as well as in Latin script, and almost 100%, of … Read full article →
While building and testing WooCommerce addons, I find myself in need of quickly deleting all WooCommerce products from the database. WPCLI is the easiest way to go, as you can achieve the desired results via a single line. NOTE: if your database prefix isn’t the default wp_, you’ll need to change it with your actual database … Read full article →