Forums Forums Search & Filter Pro WooCommerce In Stock Filter

Viewing 5 posts - 1 through 5 (of 5 total)
  • Anonymous
    #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:

    http://www.everly.co.uk/shop/

    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
    #54218

    Ahh 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
    #54250

    At 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.

    Anonymous
    #54253

    Okay, thank you Trevor.

    Trevor
    #54256

    Let me know how you get on.

Viewing 5 posts - 1 through 5 (of 5 total)