Problem:
How can you filter the WooCommerce products and display only products on sale with Views?
Solution:
You will add a Filter to views for the Custom Field
Product on sale status
and tell Views, what to look for in this Custom Field
WooCommerce returns the Product ID in this Field
So if you want the Views to return only Products that are on sale, try to set the Query to return Products where the Field "Product on sale status" is not equal "." or even empty.
Relevant Documentation:
https://toolset.com/documentation/user-guides/filtering-views-by-custom-fields/
This is the technical support forum for Toolset - a suite of plugins for developing WordPress sites without writing PHP.
Everyone can read this forum, but only Toolset clients can post in it. Toolset support works 6 days per week, 19 hours per day.
No supporters are available to work today on Toolset forum. Feel free to create tickets and we will handle it as soon as we are online. Thank you for your understanding.
Sun | Mon | Tue | Wed | Thu | Fri | Sat |
---|---|---|---|---|---|---|
- | - | 14:00 – 20:00 | 14:00 – 20:00 | 14:00 – 20:00 | 14:00 – 20:00 | 14:00 – 20:00 |
- | - | - | - | - | - | - |
Supporter timezone: Asia/Ho_Chi_Minh (GMT+07:00)
This topic contains 4 replies, has 3 voices.
Last updated by Beda 6 years, 9 months ago.
Assisted by: Beda.