Home › Forums › WoodMart support forum › Appearance of out of stock products in search results
Appearance of out of stock products in search results
- This topic has 7 replies, 2 voices, and was last updated 1 year, 1 month ago by Aizaz Imtiaz Awan.
-
AuthorPosts
-
July 31, 2023 at 12:21 pm #485343
laucoski_1ParticipantHallo,
I want results page to show out of stock products when search.Is it possible to set somewhere in the theme?
Thank you
July 31, 2023 at 5:03 pm #485444
Aizaz Imtiaz AwanKeymasterHello,
Sorry to say it is not possible in theme settings to show only out of stock products in the search results.
But you can show the out of stock product in a separate page.Go to Pages > Add New.
In the WordPress Block Editor, click on the “+” icon to add a new block.
Add the “Product Beta” block to the content area of the page.
Click on the “Advanced” tab in the block settings.
Under “Filter by,” select “Stock Status.”
Set the filter condition to “is” and the value to “Out of stock.”
Screenshot for clarification:
https://snipboard.io/pK9w01.jpgBest Regard
August 2, 2023 at 10:56 pm #486074
laucoski_1ParticipantHallo Aizaz,
Thank you for your fast ansver.To be more precize, I don’t want to show only out of stock, but both, at stock and out of stock.
Is is possible without making separate page as you explained?
August 3, 2023 at 9:52 am #486155
Aizaz Imtiaz AwanKeymasterHello,
The WooCommerce default shop page displays products with both”In Stock” status, and products with the “Out of Stock”.
For each product in your WooCommerce store, make sure you set the “Stock status” as either “In stock” or “Out of stock” in the edit product page.
Go to “WooCommerce” -> “Settings” -> “Products” -> “Inventory” and make sure “Hide out of stock items from the catalog” is unchecked.
If you have any questions please feel free to contact us.
Best Regards.
August 7, 2023 at 12:26 pm #487021
laucoski_1ParticipantThank you for your ansver.
Please note that I am interested about displaying out of stock products in search results.
This command concerns for catalog.
“WooCommerce” -> “Settings” -> “Products” -> “Inventory” and make sure “Hide out of stock items from the catalog”I want catalog to show only items at stock, but i search results, I want to show all products at stock and out of stock.
August 7, 2023 at 4:51 pm #487130
Aizaz Imtiaz AwanKeymasterHello,
Sorry to say there are no options in theme settings to show out of stock products in search results. It requires customization and beyond our support policy.
Hope you can understand!Best Regards.
November 10, 2023 at 9:35 am #511319
laucoski_1ParticipantHallo Aizaz,
I still not solve this little problem.I tried to go back to your first ansver, where you told me:
Add the “Product Beta” block to the content area of the page.
I can’t find such block at the offered blocks. No free and no paid.
Could you please help me?
Thank you in advance
November 10, 2023 at 12:51 pm #511412
Aizaz Imtiaz AwanKeymasterHello,
If you are using classic editor switch to gutenberg editor and search the widget.
Best Regards.
-
AuthorPosts
- You must be logged in to create new topics. Login / Register