Support » Plugin: annasta Woocommerce Product Filters » In Stock Filter only works for some products

  • Resolved Thomas Schmall

    (@oxpal)


    Hi,
    the “in stock” filter doesn’t actually seem to work. It filters out some “sold out” items, but not all.

    Here’s the link to my shop, with the “in stock” filter on.
    https://www.oxpal.com/shop?availability=instock
    Some of my sold paintings don’t show up anymore (that’s the correct behavior), but some others do. I can not see any difference in the product’s stock setting. Maybe it somehow ignores old ones?

    I have the full version – and the latest (also of WP and WooCommerce).

    Apart of this, overall am very happy how the URL-Filtering style works and looks. But I can’t get AJAX style quite to work for the results even with the “Products html wrapper” setting.
    Also, FYI: the “upgrade” for the plugin didn’t work in Chrome. Only in Firefox.

    The page I need help with: [log in to see the link]

Viewing 2 replies - 1 through 2 (of 2 total)
  • Plugin Author annastaa

    (@annastaa)

    Hello Thomas,

    Regarding the stock filter, is your shop installation very old? The stock filter relies on some inner flags set by Woocommerce to the out of stock products, but perhaps in some old versions of Woocommerce this flag didn’t yet exist, so yes, it may be possible that the “old” out of stock products aren’t seen as such.

    As for the ajax mode not working, could you please be more specific? Is it that the ajax calls do not return any products at all, or perhaps it’s just the question of how the product lists look after a filter is applied?

    Unfortunately I am not allowed to give you full premium support on this forum. Can you do me a favor and contact me by means of this contact form so that I could try to help you within the premium version support program?

    Thread Starter Thomas Schmall

    (@oxpal)

    Thanks for the speedy reply.

    > Regarding the stock filter, is your shop installation very old?

    So indeed, that was it! I changed the old items’s stock to 1 and then back to 0. After that, they disappeared with the “in stock” filter.

    > As for the ajax mode not working, could you please be more specific?

    When I set the Filtering Style to “Ajax with instant submission”, then the shop display doesn’t update after a change in the filter.
    I have a custom theme, so I tried fixing it by playing around with the “Products html wrapper” setting. With most settings I tried, usually my site-navigation disappears. In my case only when I set it to “.content” then the instant submission does work, but the filter settings disappear after one instant update.

    On a side note here: It then paginates the products (which shouldn’t happen, as I have turned it off for woocommerce). But the pages don’t work … the URLs link to “www.oxpal.com/shoppage/2” … of which I have no clue where it got the idea from. “shoppage” is not how my shop is named – and I don’t see a setting anywhere for that. It doesn’t seem to come from woocommerce.

    And one more: When using pagination with “URL submit”, the filter settings also don’t show up on page 2 and so on. Not sure if it’s intended behavior – but it seems unpractical. Currently I turned off pagination for woocommerce.

    > Unfortunately I am not allowed to give you full premium support on this forum.

    I’ll write the AJAX part in the form.
    Though currently I can live with the URL submit. Just kinda would’ve been nice to have – it might be a bit much for the price considering I have a custom theme.

    Anyways, thanks for the help with the Stock-Filter.

Viewing 2 replies - 1 through 2 (of 2 total)
  • You must be logged in to reply to this topic.