• Resolved bdrinkwater

    (@bdrinkwater)


    I have read all tickets relating to “hand-picked block” but none were similar to this issue.

    We are running Woo 5.2.0 and woo blocks 4.9.1 with 1GB of WP memory.

    When I add “hand-picked block” to a wordpress post, the block editor will only list the first 100 products from my store of 195 products. When I dont type anything in the search box, first 100 products are listed. See here: https://prnt.sc/11d2oiy

    See other products listed beneath product number 100 in the woo Products list, you can see there are products after “Mag Phos”. https://prnt.sc/11d2tvn

    Site search shows products listed which are not locatable in Hand-Picked Block editor https://prnt.sc/11d3466
    See search for same product as above shows no record: https://prnt.sc/11d36pu

    Using wordpress/woo search however, shows these products 101 – 195 are indeed indexed in site search.

    I cant find any setting that would limit the block to seeing only the first 100 products.

    Am I missing something?

Viewing 4 replies - 1 through 4 (of 4 total)
  • Hi @bdrinkwater, you are correct, the control to select products which is used by the Hand-Picked product block has a limit of 100 products. This is in order to avoid the performance hit that might show up in stores with many products.

    For stores with more than 100 products, the recommended way to add them in the Hand-Picked product block is to search them. Once you introduce the search keywords, the filtered results will appear, so if you introduce a specific product name, it will show up in the list even if it was not in the first 100.

    Hope that helps! Let us know if that doesn’t work for you.

    Thread Starter bdrinkwater

    (@bdrinkwater)

    Thanks for confirming Albert.

    Your solution is not working for me unfortunately and I had checked this prior to submitting the ticket.

    Any of the products beyond the initial 100 is listed as “No result for (product name)”
    see in this screengrab https://prnt.sc/11s427h

    In this second screengrab you can see the product exists via a site search query. https://prnt.sc/11s46l0

    This is the same for each product beyond product no. 100

    Any other steps you could advise? There doesn’t seem to be a way around it except to use the shortcode and manually search for product IDs to list in the shortcode. This is beyond the tech skills of the store manager.

    Thanks for coming back to us @bdrinkwater, I tested locally and it seems to work fine on my end. Some more things you could do to investigate what’s going on:

    • If you have some knowledge of browser devtools, I would suggest opening the Network tab before making the search in the product control. Once you write the query, it should do a XHR call to https://example.com/wp-json/wc/store/products?per_page=100&catalog_visibility=any&search=probiotics&orderby=title&order=asc&_locale=user. Can you check if this call is done and whether it returns any results?
    • Following the steps in the WooCommerce Self-Service Guide is usually a good starting point to debug any issue. There might be some other plugins that are interfering with API calls and making them return no results.
    • In the meanwhile, I would suggest using the shortcodes as a work-around to the issue.
    Thread Starter bdrinkwater

    (@bdrinkwater)

    Thanks for your advice Albert.

    I went through the disable everything routine and eventually tracked down the culprit. It was the Facebook pixel plugin from Facebook. With that plugin disabled, Hand-Picked Products block works as advertised.

    Cheers
    Brett

Viewing 4 replies - 1 through 4 (of 4 total)
  • The topic ‘Hand-picked blocks only lists first 100 products’ is closed to new replies.