Filter by stock and attributes
-

RDParticipant
Hello,
Is there a way to have a filter of stock with attribute? for example, I want to see all the tshirt in S size, yellow color that in stock only.
if not, can you recommend on a plugin that will do that and will also work best with your theme?
thanks.
Hi idan-7326,
Thanks for reaching to us.
You can use WoodMart WooCommerce Layered Nav
and WoodMart Stock Status
widgets to display attributes and stock status filters
https://prnt.sc/niFOrttAnk5i
Regards,

RDParticipant
Hello,
thanks for the answer.
1. I am using the classic editor and classic widget.
2. I am using my own design for the categories so I set it under layouts with elementor editor.
so… on this layout I made I also added the “product filter” by 2 attributes, 1 stock and 1 orderby.
so how can I make it work?
if you will check this filter I made:
https://www.littlepenguin.co.il/product-category/%D7%A9%D7%A7%D7%99-%D7%A9%D7%99%D7%A0%D7%94/%D7%A9%D7%A7%D7%99-%D7%A9%D7%99%D7%A0%D7%94-to-go/?filter_size=18-36&filter_thickness=winter-2&stock_status=instock
so the size is 18-36, winter, in-stock ONLY items.
it is showing items that we don’t have in stock according to this filter.
for example this item:
https://www.littlepenguin.co.il/product/%d7%a9%d7%a7-%d7%a9%d7%99%d7%a0%d7%94-to-go-%d7%a4%d7%99%d7%9c%d7%a4%d7%99%d7%9c%d7%95%d7%9f-%d7%95%d7%a8%d7%95%d7%93/
this product we don’t have in stock for winter for size 18-36. but it is still showing it on the results.
thanks.
Hi idan-7326,
Thanks for sharing details
In stock filter takes into account only parent product stock status. It doesn’t goes through all the variations, unfortunately.
Regards,