Default pre-selected value in filter widget

This topic has 3 replies, 2 voices, and was last updated 5 months ago ago by FirstEdition

  • Avatar: FirstEdition
    FirstEdition
    Participant
    July 26, 2025 at 09:31

    Hi team, I’m hoping you can help. I have a large number of products which come in and out of stock regularly and I’m hoping to pre-select one of the filter options (In Stock) in the xstore ‘filter by availability’ widget. I still want users to be able to unselect this to see out of stock items, but ideally want to clean up the product archive by filtering to in stock items by default. Is this possible?

    2 Answers
    Avatar: Alex Carter
    Alex Carter
    Support staff
    July 26, 2025 at 10:28

    Hello,

    Thank you for reaching out to us.

    We appreciate your detailed explanation. At the moment, the XStore “Filter by Availability” widget does not support setting a default filter option such as “In Stock” while still allowing users to manually deselect it to view out-of-stock items. The widget is designed to reflect user-selected filters rather than applying a default state automatically.

    However, we understand how this functionality could be beneficial for your store’s user experience. We recommend considering a custom development approach to achieve this behavior. Alternatively, you may explore third-party filtering plugins that offer more advanced default filter settings.

    Also, please read this article – https://www.8theme.com/documentation/xstore/support/how-to-submit-a-request-for-adding-a-new-setting-or-functionality/

    Best Regards,
    8Theme’s Team

    Avatar: FirstEdition
    FirstEdition
    Participant
    July 26, 2025 at 12:01

    Thanks for the support! My topic “Default pre-selected value in filter widget” has been successfully resolved.

  • Viewing 3 results - 1 through 3 (of 3 total)

The issue related to '‘Default pre-selected value in filter widget’' has been successfully resolved, and the topic is now closed for further responses

We're using our own and third-party cookies to improve your experience and our website. Keep on browsing to accept our cookie policy.