Request for Guidance: Sorting In-Stock Products Above Out-of-Stock Products

This topic has 2 replies, 2 voices, and was last updated 5 months ago ago by Tony Rodriguez

  • Avatar: Vehbi Kurtcebe
    Vehbi Kurtcebe
    Participant
    July 17, 2024 at 17:43

    Request for Guidance: Sorting In-Stock Products Above Out-of-Stock Products

    Please, contact administrator
    for this information.
    1 Answer
    Avatar: Tony Rodriguez
    Tony Rodriguez
    Support staff
    July 18, 2024 at 07:22

    Hello, @Vehbi Kurtcebe,

    Thank you for reaching out to us and for choosing XStore for your needs.

    We would like to inform you that the product sorting functionality is inherently provided by the WooCommerce plugin, and currently, there is no direct option available to modify this within XStore. For further details, you may refer to our documentation here: [Prioritizing Specific Products on the Shop Page](https://www.8theme.com/documentation/docs/prioritizing-specific-products-on-the-shop-page/).

    However, we recommend implementing a custom solution by adding the following snippet to the functions.php file of your XStore child theme. This modification should assist in displaying products that are in stock first. You can find the snippet and detailed instructions at this link: [Add Custom Sorting Option](https://rudrastyh.com/woocommerce/sorting-options.html#add-custom-option).

    We hope this solution meets your requirements. Should you need any further assistance or have additional questions, please feel free to contact us. Our team is dedicated to supporting you.

    Best regards,
    The 8Theme Team

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

You must be logged in to reply to this topic.Log in/Sign up

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