I have a custom query inside my template, I want to show product by price, I want to query free products, and only show $0 products on my home page.
Question posted in Woocommerce
The official Woocommerce documentation can be found here.
The official Woocommerce documentation can be found here.
2
Answers
Add this to your theme functions.php, and let me know If it works.
If you want to display on your homepage the products add this code: