Home Forums WoodMart support forum Appearance of out of stock products in search results

Appearance of out of stock products in search results

Viewing 8 posts - 1 through 8 (of 8 total)
  • Author
    Posts
  • #485343

    laucoski_1
    Participant

    Hallo,
    I want results page to show out of stock products when search.

    Is it possible to set somewhere in the theme?

    Thank you

    #485444

    Hello,

    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.jpg

    Best Regard

    #486074

    laucoski_1
    Participant

    Hallo 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?

    #486155

    Hello,

    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.

    #487021

    laucoski_1
    Participant

    Thank 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.

    #487130

    Hello,

    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.

    #511319

    laucoski_1
    Participant

    Hallo 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

    #511412

    Hello,

    If you are using classic editor switch to gutenberg editor and search the widget.

    Best Regards.

Viewing 8 posts - 1 through 8 (of 8 total)