Forums › Forums › Search & Filter Pro › WooCommerce In Stock Filter
Tagged: in stock, woocommerce
- This topic has 4 replies, 2 voices, and was last updated 8 years, 3 months ago by Trevor.
-
Anonymous(Private) August 10, 2016 at 8:40 pm #54217
Hi,
I’ve created a filter for my WooCommerce store that allows should allow users to filter the available products by what’s in stock. For some reason, even when the filter is not ticked the shop only displays in stock items on the main shop page unless I deactivate the filter:
If you go to the ‘new in’ page:
http://www.everly.co.uk/product-tag/new-in/
you can see that there are out of stock items present.
Also, when I try and use the filter on the ‘new in’ page, it reverts back to the shop page rather than just filtering what’s available under the ‘new in’ tag.
Any help would be much appreciated.
Anonymous(Private) August 10, 2016 at 8:46 pm #54218Ahh sorry I have fixed the first part of my issue! Should have just stuck at it a little longer.
However, the search filter is still redirecting me to the main shop page when I use it and I would prefer for it to keep the user on the current page if possible. So if they search on the page/within the tag:
http://www.everly.co.uk/product-tag/new-in/
I would like the in stock search to only return items that are both in stock and tagged as new in. Is that possible?
Trevor(Private) August 11, 2016 at 9:09 am #54250At this time, the WooCommerce search forms works only on the main shop page. It is possible that future version may support other pages, but not right now.
So, you would need to add the product tag field to the search form and allow it to be ticked from there, and/or you could make the url of the link at the top menu to be the shop page with the ? query to call the new-in product tag. That way you can also add the in stock value also.
-
AuthorPosts