To improve your customers’ shopping experience, it’s important to make in-stock products easy to find. Showing items that are available first increases the likelihood of purchase, while out-of-stock products are less prominent.
Unlike default WooCommerce, which doesn’t include a native option to sort by stock status, Omniverse provides a built-in feature to handle this automatically. You can prioritize in-stock products in your shop listings without adding any custom code.
How to enable:
Go to Theme Settings → Product Archive and enable the “Out of stock products at the end” option.
Notes:
- This feature modifies the core WooCommerce product query at runtime.
- Currently, it works only on the Shop page and inside Layouts (when using the Archive Products element).
- Use with caution, as it may conflict with third-party plugins that also change product queries, such as custom sorting or filter plugins.