CAT the Tech
Forum Replies Created
-
2. I found how to filter by stock (_stock_status meta key):
2.1. Add a new field inside your filter.
2.2. Click onMore options
.
2.3. SetFilter by
toCustom Field
.
2.4. Set theFilter title
andVar name for URL
to whatever you want.The issue: This only hides out of stock WooCommerce products if ALL variations are out of stock. This does not hide terms that have 0 variations in stock.
Conslusion: Buy the PRO version, or you can’t have this feature.
- This reply was modified 2 months, 2 weeks ago by CAT the Tech.
- Sorry,I did not know there was such an option in the PRO version (I have the free version)
- Can you explain a bit more how those “meta keys” work and how I can use it in a shortcode?
Is it simply:[fe_sort _stock_status="true"]
?
I am a programmer on this website: merryclaude.com
1) This is not true, there is a filter option called “Empty terms”, I set it to “Always hide”. It appears to not hide terms when all products using it are merely disabled.
If it’s true that this is a PRO feature, what does this option do?4) Where do you set this filter by stock status? Is this a PRO feature?
I understand that is IS possible for a technical user/programmer, but for the general non-programmer website developper, I believe it would be great to integrate it as a native option.
Thank you for considering it, I really hope it’ll make it to some version in the near future!