Home › Forums › WoodMart support forum › Exclude out-of-stock variable products from filtering
Exclude out-of-stock variable products from filtering
- This topic has 9 replies, 2 voices, and was last updated 1 year, 8 months ago by
Luke Nielsen.
-
AuthorPosts
-
June 12, 2023 at 2:11 pm #474321
websetupParticipantHello,
We use the “WOODMART WooCommerce Layered Nav” widget to enable filters on our shop.
However, we would like to ask you if we can exclude a product if a variation is out of stock.
More specifically, the following link
https://twomonkeys.gr/paidikes-formes/?filter_ilikia=11-12-eton displays all the products with ages between 11-12 years old.
if you see the results appears the following product https://twomonkeys.gr/%cf%80%ce%b1%ce%b9%ce%b4%ce%b9%ce%ba%ce%ae-%cf%86%cf%8c%cf%81%ce%bc%ce%b1-%ce%ba%cf%8c%ce%ba%ce%ba%ce%b9%ce%bd%ce%b7-rauch/
This product is out of stock for the choosing value “11-12 ετών”. So, we want to exclude these products from the filtering.
We don’t want to disable all the out-of-stock products from the catalog but only from filtering.
Attachments:
You must be logged in to view attached files.June 12, 2023 at 4:43 pm #474369
Luke NielsenKeymasterHello,
You can add additional filter that help you enable products which in stock:
So as a result, those products should be hidden.
Kind Regards
June 12, 2023 at 5:19 pm #474381
websetupParticipantHello,
This solution doesn’t work when using combined filters. Doesn’t recognize if a variation product is available or not.
Best Regards
June 12, 2023 at 5:33 pm #474384
Luke NielsenKeymasterHello,
Could you please provide access to the admin dashboard so I will test it on your side?
Looking forward to collaborating with you!
Kind Regards
June 12, 2023 at 5:44 pm #474386
websetupParticipantUse the below credentials. Please be careful because it is a live site.
June 13, 2023 at 2:17 pm #474604
Luke NielsenKeymasterHello,
Yes, I see. Could you please make a staging site and I will check that issue on the default theme?
I await your response.
Kind Regards
June 16, 2023 at 6:51 pm #475498
websetupParticipantHello,
Below you can find the staging credentials.
Also, please use the following link https://twomonkeys.digitup.eu/product-category/agori/pantelonia-formes/?filter_ilikia=11-12-eton for debugging and check the following product https://twomonkeys.digitup.eu/product/paidiki-kokkini-forma-bolt-print/ which is out of stock for the variation “11-12-eton”
June 19, 2023 at 2:11 pm #475862
Luke NielsenKeymasterHello,
I apologize for the delay.
I don’t have access to the login page, unfortunately: https://take.ms/E7EA6A
Could you please disable that security so I can log in and check the issue?
Looking forward to collaborating with you!
Kind Regards
June 19, 2023 at 2:16 pm #475867
websetupParticipantPlease try again…
June 19, 2023 at 2:51 pm #475873
Luke NielsenKeymasterHello,
I have checked that issue on the default theme, here is a video: https://take.ms/yur6y
As you can see, the same issue persists on the default theme so it means that this issue is not related to the theme.
Don’t hesitate to let me know if you need any further help or any other info.
Kind Regards
-
AuthorPosts
- You must be logged in to create new topics. Login / Register