Viewing 4 replies - 1 through 4 (of 4 total)
  • Plugin Author Jeroen Sormani

    (@sormano)

    Hi Peter,

    Thanks for the comment.

    I’ve just looked at it, and turns out that the ‘HTTP Method’, when set to ‘GET’, it isn’t supported by the browser to remember the filters; https://stackoverflow.com/questions/1116019/submitting-a-get-form-with-query-string-params-and-hidden-params-disappear

    If you set the value to ‘POST’ it does remember the values correctly and it should work.
    I’ve logged this so I can have a look at it for the next update so the ‘GET’ is also supported.

    I’m not sure how that other plugin works, but if its the same as WC it should also be remembered when doing the above.

    Re selection box; Not sure why this would be, the drop downs are added via hooks to your site. They will only show up when there are products on the page (just like the sorting drop down). It could be that your theme is overriding some template files, and have removed the hook in some places. Can you check this?

    Thanks!
    Jeroen

    Thread Starter Peter

    (@petert-1)

    Hi Joroen,

    I checked the settings and the value is set to ‘POST’ not ‘GET’.

    I’m also in touch with the other plugin author to try and get this sorted out.

    Our theme has zero support for Woocommerce at the moment. I’ve only created some pages which display what we need (only using it as a catalog at the moment). I’m not using any of the hooks that you are using in your plugin (woocommerce_before_shop_loop, woocommerce_after_shop_loop from what I can see), so I don’t think that could be causing it. Could be some interference from the other plugin (which we need for the AJAX filtering).

    Thanks,
    Peter

    Thread Starter Peter

    (@petert-1)

    Sorry, I spoke too soon. I am using the following from the woothemes site to remove the “Sort by”:
    remove_action( ‘woocommerce_before_shop_loop’, ‘woocommerce_catalog_ordering’, 30 );

    Plugin Author Jeroen Sormani

    (@sormano)

    Hi peter,

    If the filters are not working when set to POST it is probably a incompatibility with the other plugin. But that all depends on how that works.

    That shouldn’t affect the products per page drop down, but can you check by commenting that remove_action and see if it shows up?

    Maybe the filter isn’t applied on all the pages as you mention that isn’t always showing but sometimes. Can you try switching back to one of the default twenty * themes, and see if it pops up?

    Thanks!
    Jeroen

Viewing 4 replies - 1 through 4 (of 4 total)
  • The topic ‘Plugin not working properly’ is closed to new replies.