Repository › Forums › Support › Expiry dates for WooCommerce PRO › Category for discounted products › Reply To: Category for discounted products
March 20, 2024 at 1:30 pm #20417
Soft79
Keymaster
Not easily, because the discount is calculated dynamically when the product is requested. Therefore it’s not easy to request all the discounted products without a big performance hit.
A solution that could be developed is to run a cron job every 24 hours that collects the discounted products and assigns a category to these products.