Description
Have you ever wanted to filter your order page results by a specific product? With this plugin, now you can!
Once installed, a new filter dropdown will appear on the WooCommerce Orders screen, displaying a list of all products. Simply select a product and click the « Filter » button to view orders containing only that product.
This plugin supports filtering orders by:
- Product Name
- Product Category
Note: This plugin is compatible with both WooCommerce’s new HPOS (High-Performance Order Storage) and the legacy WordPress posts storage. Whether you’re using HPOS or the traditional storage method, this plugin will work seamlessly.
Captures d’écran
Installation
There are three different ways to install this plugin, as well as any other plugin from the WordPress.org repository.
Automatic Installation via WordPress Dashboard
- Log in to your WordPress admin dashboard.
- Navigate to
Plugins
>Add New
. - Search for « WooCommerce Filter Orders by Product ».
- Click
Install Now
next to the plugin. - Once installed, click
Activate
.
Manual Upload through WordPress Dashboard
- Download the « WooCommerce Filter Orders by Product » plugin ZIP file.
- Log in to your WordPress admin dashboard.
- Navigate to
Plugins
>Add New
. - Click
Upload Plugin
. - Click
Choose File
, select the plugin ZIP file you downloaded, and clickInstall Now
. - Once the installation is complete, click
Activate Plugin
.
Installation via FTP
- Download the « WooCommerce Filter Orders by Product » plugin ZIP file and extract it to your computer.
- Using an FTP client, connect to your web server.
- Navigate to
/wp-content/plugins/
. - Upload the extracted plugin folder to the
/wp-content/plugins/
directory on your server. - Log in to your WordPress admin dashboard.
- Navigate to
Plugins
. - Locate « WooCommerce Filter Orders by Product » in the list and click
Activate
.
After the installation is complete, a new filter will appear on the WooCommerce Orders page.
FAQ
-
Does this plugin work for all product statuses (public, draft, etc.)?
-
Currently, this plugin only works for published products. To make it work for all product statuses (e.g., draft, private), add the following code to your theme’s
functions.php
file:add_action( 'wfobp_product_status', 'filter_order_by_product_status' ); function filter_order_by_product_status(){ return 'any'; }
Avis
Contributeurs/contributrices & développeurs/développeuses
« WooCommerce Filtrez vos Commandes par Produit » est un logiciel libre. Les personnes suivantes ont contribué à cette extension.
Contributeurs“WooCommerce Filtrez vos Commandes par Produit” a été traduit dans 10 locales. Remerciez l’équipe de traduction pour ses contributions.
Traduisez « WooCommerce Filtrez vos Commandes par Produit » dans votre langue.
Le développement vous intéresse ?
Parcourir le code, consulter le SVN dépôt, ou s’inscrire au journal de développement par RSS.
Journal
4.1 – May 20, 2024
- Tweak: Readme updated
4.0 – Dec 31, 2023
- Tweak: Added WooCommerce HPOS support
3.3 – Aug 20, 2023
- Fix: Resolved PHP notice caused by incorrect use of the
is_search()
function
3.1
- Readme updated
3.0
- New: Now it’s possible to filter by Product Category
- Code refactored
2.0.7
- Correctif – Les produits portant le même nom ne sont apparus qu’une seule fois précédemment
2.0.6
- Ajout d’un crochet pour changer l’état du produit
2.0.5
- Correctif – Bug d’injection SQL
2.0.4
- Amélioration code
2.0.3
- Correctif – Langue
2.0.2
- Correctif – Bug de traduction (merci à Kasperta)
2.0.1
- Correctif – Bug mineur
2.0.0
- Nouveauté – Liste déroulante avec recherche
- Correctif – Bug majeur
1.0.0
- Version initiale