This topic has 2 replies, 2 voices, and was last updated 5 months ago ago by Tony Rodriguez
Request for Guidance: Sorting In-Stock Products Above Out-of-Stock Products
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
You must be logged in to reply to this topic.Log in/Sign up