• Resolved artifexmedia

    (@artifexmedia)


    I noticed that when you use the gutenburg WooCommerce Hand-Picked Products block, it will only allow the search of 100 products, causing us being unable to find certain products as they are far outside the 100 products. I have a product litteraly called “Felting Needles” and when you search for that exact criteria, you will not find it at all. And this is happening with a lot of products.

    I see in network the following json call:
    /wp-json/wc/blocks/products?per_page=100&catalog_visibility=visible&status=publish&search=felting%20needles&_locale=user

    As you can see there is per_page=100. I’m thinking the search is bad because of the per_page=100 option, because in every response from this call I keep seeing the same products and not the products matching any of my search criteria. Just the same 100 products over and over again.

    Can we change this per_page option or somehow make the search work? We have 4000 products so I can imagine changing the per_page option would be killing, but not if it preteches the products by the criteria, not a list of 100 products to filter out afterwards.

Viewing 3 replies - 1 through 3 (of 3 total)
Viewing 3 replies - 1 through 3 (of 3 total)
  • The topic ‘Search in Hand-Picked Products does not work (perhaps because of per_page=100?)’ is closed to new replies.