It is quite practical to find a way to hide out of stock products in WooCommerce, in this way users will be aware of those that are available.
That is, there is nothing more annoying than entering the link for an item on offer and then realizing that it is not in stock . This causes an unpleasant feeling in the future buyer, which also generates a frustration that distances him from the virtual store.
Which is counterproductive, since the idea is that instead of losing interest in buying on the site, you decide to get another product.
Hiding elements in your WooCommerce virtual store can serve you not only to hide Stock items that are out of service. If not, also thanks to this option you can create a catalog from your page.
Wait what is WooCommerce?
WooCommerce is an open source platform that is created based on WordPress, ready for users to create their own virtual stores.
Like the aforementioned platform, this one has customization tools that allow the user to play with the appearance of your product and your site. These can be controlled through the editing panel of WordPress itself.
But first, the plugin corresponding to WooCommerce must have been installed, otherwise it will not be accessible.
After this, two tabs specific to the extension will appear, one dedicated to general settings and the other to ” Products “.
It should be remembered that this is not a free addition, since certain contributions will have to be canceled according to the service used.
This information and everything related to rates , as well as other considerations of WooCommerce, can be expanded from its official page.
What do I need to do to hide out of stock products in WooCommerce?
This is quite simple, because you will only have to be logged into WordPress and go to the settings or settings window.
In this way, it can be located in the side panel, the tab is destined to ” WooCommerce ” and then in ” Settings “.
Then, choose the option ” Products “, to finally be able to access the ” Inventory ” of all the items that are owned.
In this last section, a mode will be positioned in which you can ” Hide out-of-stock products in the catalog “, this same one has a checkbox.
By checking it, you will have managed to hide out of stock products in WooCommerce. But it is advisable to be sure that you want to do this.
Do I need to supplement this configuration?
Yes, in order for out-of-stock products to be hidden in inventory, the inventory must be configured and the total items in stock per product must be added .
Why? Since, if the availability of units per item is not established, WooCommerce will not be able to keep out of stock.
Adding products
Before being able to make changes, it will be necessary to add the articles that are intended to be marketed through WordPress and WooCommerce.
Thus, you will have to access the configuration wizard, or through the ” Products ” tab in the side bar, and then press ” Add new “. In this way, it will be feasible to individualize the element. The best thing is that this is done with the well-known WordPress editor.
Among the things that can be added are the title, a product description and any other relevant information and thanks to two new sections.
Delimiting the Stock
After including the products or services offered, the other data about these can be added, for example, the price and the limit of the stock.
Selecting the tab ” Inventory ” or ” Inventary ” from the panel on the left side, we proceed to enter the exact amount that is available.
In this way, WooCommerce will be able to automatically determine, based on sales, when to remove an out-of-stock product from the sample.
In this same section, but in other tabs, there will be many other possibilities to add and establish on the article.
For example, if it is a digital good, it can be endowed with an unlimited stock if the relevant field is left blank.
But the latter will make it difficult to instinctively hide out-of-stock products in WooCommerce, since it will be considered that it is not finished.
If your store is already ready for service, do not forget to offer your customers the opportunity to provide them with an electronic invoice to make their purchase more comfortable and simple, you can also achieve this by attaching files to the payment page.