The WebToffee WooCommerce Product Recommendations plugin allows you to dynamically display suggestion widgets based on the stock status of the current product. To set this up, navigate to WooCommerce > Product Recommendations, edit a specific recommendation campaign, and scroll to the ‘Display conditions‘ section. By selecting ‘Stock Status’ and then ‘In stock,’ you can ensure that the recommendation block is only visible to customers when the main product is available, preventing irrelevant upselling on sold-out items.
How to Show Recommendations Based on Stock Status
To display selected product recommendations exclusively for items currently in stock:
- From the WordPress dashboard, navigate to WooCommerce > Product Recommendations.
- Either select an existing recommendation or choose to create a new one.

- From the recommendation edit window, configure the recommendation as needed. For detailed information on how to customize your recommendation, refer to the article, Generic Steps to Create a Custom Product Recommendation.
- Scroll down to Display conditions settings.
- From the drop-down, select the option Stock status.
- Select the option In stock from the secondary list that appears.

- Save the changes.
Now, this particular recommendation will only be visible on the product pages if the particular product is in stock.


Recommendation hidden for out of stock product
- Alternatively, select Out of Stock from the drop-down to display recommendations only for out-of-stock products.
- Select On backorder from the drop-down to display recommendations only for backorder products.
Comments (2)
Jean-Michel
May 7, 2025
Hello,
Where are the calculations for recommendations done, on my server or externally via an API?
Does the plugin offer a clean uninstallation to completely delete all database entries?
How much performance is required with approximately 100,000 articles and approximately 2,000 visitors per day?
Are new images generated for templates?
Best regards
Sanjai Valsan
May 12, 2025
Hi Jean,
Thank you for reaching out,
Since your queries involve backend processes, performance impact, and database handling, the best way to get accurate and comprehensive answers would be to contact our customer support team directly. They’ll be happy to help you with all the technical specifics.