WordPress.org

Forums

WooCommerce Products Per Page
[resolved] Active filters lost (6 posts)

  1. dblomster
    Member
    Posted 1 year ago #

    Hello,

    What a great plugin!

    One issue I have is that all active filters, e.g. price and product attributes, are lost when the number of listed products per page is changed via the plugin's dropdown menu.

    The goal is to be able to use a filter e.g. on a specific brand, let's say it returns 30 products and then with the help of this plugin choose to display them all at once.

    As of now, it would return all products in the current category rather than only the ones belonging to the filtered brand.

    Even if I first select to show all products and then apply the filter, it will be go back to show the default number of products per page.

    https://wordpress.org/plugins/woocommerce-products-per-page/

  2. dblomster
    Member
    Posted 1 year ago #

    Just want to add that the same behavior goes for sorting, e.g. if I choose to sort by price low to high, this is reset after using the plugin's dropdown.

  3. Jeroen Sormani
    Member
    Plugin Author

    Posted 1 year ago #

    Hi dblomster,

    Thanks for reporting this, I will look into this later today/this week.

    Could you maybe post or send me your website url and did you check the last checkbox on the settings page (First category page)?

  4. dblomster
    Member
    Posted 1 year ago #

    Hello Sormano,

    I found the reported issue in a local environment, but when you release an update I'll test it and report back.

    Yes, I enabled the First category page setting. Actually, for the project I'm working on now I only need the option to list the default number of products per page or all products.

    Btw, I've found a theme which has a products per page function that works in conjunction with filters and sorting -> http://www.kriesi.at/themes/enfold/shop/
    As you can see, when you do a selection, a product_count parameter will appear in the url. If you need more details about this particular theme, let me know as I might be able to get you some additional info.

    Keep up the good work!

  5. Jeroen Sormani
    Member
    Plugin Author

    Posted 1 year ago #

    I've just release 1.0.7, with this version there is support for 'Order By', filters and other query strings.

    Note: It does not support 'Default' permalinks; use pretty permalink (always my recommendation).

    Like to hear your findings!

  6. dblomster
    Member
    Posted 1 year ago #

    After doing some quick testing, I'd say the plugin seems to work as it should when filters are enabled! Many thanks for your swift and accurate update. Should any issues arise, I'll let you know.

Topic Closed

This topic has been closed to new replies.

About this Plugin

  • WooCommerce Products Per Page
  • Frequently Asked Questions
  • Support Threads
  • Reviews

About this Topic