This code creates a custom WooCommerce product query using WC_Product_Query enabling you to use any WP_Query parameters.
Demo Image
Works with WC Product Query parameters in WooCommerce.
Parameters
Installation
There’s only 1 step :
Copy & paste the PHP code ( excluding the opening PHP tag ) from the functions.php file to the end of your child themes functions file or custom functionality plugin.
You must be logged in to post a comment.