Conversation
supportHello, I’m having an odd problem with Woo’s product block. When I go to select a category I can not see nor search past the 48th (if I counted correctly) category. For example “Kits” shows as “no options”. These categories exist, they have live products, they are even used on other pages but suddenly I can not add anything past the first 48 categories to any other page than the ones they are currently on – where I am able to x out the category and re-add it, but no other page recognizes the category’s existence. How can I fix this? Thanks! The page I need help with: [ log in to see the link]
Hi @savingpatterns , That’s a frustrating issue with the product block category selector! It sounds like you’re hitting a pagination or query limit that’s preventing categories beyond the first 48 from appearing in the dropdown. To help us narrow this down and reproduce it on our end, a few quick questions: Could you confirm whether it’s the Product Collection block, the older Products (Beta) block, or something else? You can check by clicking the block and looking at the block name in the toolbar at the top. Does “Kits” have products directly assigned to it? The category picker in the block editor filters out empty categories by default (categories with no products directly assigned). If “Kits” only has products in subcategories but none assigned directly to the parent “Kits” category, it may not appear in the picker even though it shows up elsewhere. Could you check by going to Products → Categories and confirming the product count shown next to “Kits”? Does the issue persist in an incognito window? Please try opening a new incognito/private window, log into wp-admin, and try the category picker again. This rules out any browser cache or extension interference. Could you share your System Status Report? Go to WooCommerce → Status → Get system report, copy it, paste it at pastebin.com , and share the link here. That’ll show us your WooCommerce version, active plugins, and theme so we can set up a matching environment to reproduce it. Once we have those details we should be able to either reproduce the issue or point you to the exact cause. Looking forward to your response.
Hello, I was using the Products block, I believe it is the one that came with woodmart as it has a little tree icon in the corner. I don’t see another one – I was sure there was two before WordPress 7. However, strangely enough deleting the block and re-adding it seems to have partially fixed the issue – no idea why. I tried that before. I still can not scroll down past the same category (Halloween) but the search is somehow working again IF I delete and re-add it. Incognito doesn’t change anything, still the same issue. Here is my pastebin https://pastebin.com/4tEB3cZ1 Thanks!
Hi @savingpatterns , Thanks for the system report and the update. That’s really helpful! A couple of things stand out now. The block you’re using with the tree icon is Woodmart’s own product block, not WooCommerce’s native Products or Product Collection block. That distinction matters here because Woodmart has its own implementation of the category picker in the block editor, which is separate from WooCommerce core, meaning this is most likely a Woodmart theme limitation rather than a WooCommerce issue, and the Woodmart support team would be best placed to confirm whether there’s a known cap on how many categories the picker can display. That said, the fact that deleting and re-adding the block temporarily fixes the search is a strong clue pointing to your object cache. I see you have both W3 Total Cache and an external object cache drop-in active. It’s very likely that the category list being shown in the picker is a cached response from a previous state, and re-adding the block forces a fresh fetch. The scroll stopping consistently at “Halloween” suggests that’s where a cached snapshot of your category list ends. A few things worth trying before reaching out to Woodmart support: Flush your object cache and W3 Total Cache completely, then check if the full category list appears without needing to delete/re-add the block. If flushing the cache resolves it temporarily but the issue returns, that confirms the object cache is the culprit and you’ll need to either exclude the category picker REST API endpoint from caching, or investigate whether W3 Total Cache’s object cache TTL needs adjusting. If the issue persists after clearing cache, I’d recommend raising it directly with Woodmart support and referencing the category limit behaviour. They’ll be able to confirm whether there’s a per_page cap in their block’s category query. Let us know what you find!
Hi @savingpatterns , That’s a frustrating issue with the product block category selector! It sounds like you’re hitting a pagination or query limit that’s preventing categories beyond the first 48 from appearing in the dropdown. To help us narrow this down and reproduce it on our end, a few quick questions: Could you confirm whether it’s the Product Collection block, the older Products (Beta) block, or something else? You can check by clicking the block and looking at the block name in the toolbar at the top. Does “Kits” have products directly assigned to it? The category picker in the block editor filters out empty categories by default (categories with no products directly assigned). If “Kits” only has products in subcategories but none assigned directly to the parent “Kits” category, it may not appear in the picker even though it shows up elsewhere. Could you check by going to Products → Categories and confirming the product count shown next to “Kits”? Does the issue persist in an incognito window? Please try opening a new incognito/private window, log into wp-admin, and try the category picker again. This rules out any browser cache or extension interference. Could you share your System Status Report? Go to WooCommerce → Status → Get system report, copy it, paste it at pastebin.com , and share the link here. That’ll show us your WooCommerce version, active plugins, and theme so we can set up a matching environment to reproduce it. Once we have those details we should be able to either reproduce the issue or point you to the exact cause. Looking forward to your response.
Hello, I was using the Products block, I believe it is the one that came with woodmart as it has a little tree icon in the corner. I don’t see another one – I was sure there was two before WordPress 7. However, strangely enough deleting the block and re-adding it seems to have partially fixed the issue – no idea why. I tried that before. I still can not scroll down past the same category (Halloween) but the search is somehow working again IF I delete and re-add it. Incognito doesn’t change anything, still the same issue. Here is my pastebin https://pastebin.com/4tEB3cZ1 Thanks!
Hi @savingpatterns , Thanks for the system report and the update. That’s really helpful! A couple of things stand out now. The block you’re using with the tree icon is Woodmart’s own product block, not WooCommerce’s native Products or Product Collection block. That distinction matters here because Woodmart has its own implementation of the category picker in the block editor, which is separate from WooCommerce core, meaning this is most likely a Woodmart theme limitation rather than a WooCommerce issue, and the Woodmart support team would be best placed to confirm whether there’s a known cap on how many categories the picker can display. That said, the fact that deleting and re-adding the block temporarily fixes the search is a strong clue pointing to your object cache. I see you have both W3 Total Cache and an external object cache drop-in active. It’s very likely that the category list being shown in the picker is a cached response from a previous state, and re-adding the block forces a fresh fetch. The scroll stopping consistently at “Halloween” suggests that’s where a cached snapshot of your category list ends. A few things worth trying before reaching out to Woodmart support: Flush your object cache and W3 Total Cache completely, then check if the full category list appears without needing to delete/re-add the block. If flushing the cache resolves it temporarily but the issue returns, that confirms the object cache is the culprit and you’ll need to either exclude the category picker REST API endpoint from caching, or investigate whether W3 Total Cache’s object cache TTL needs adjusting. If the issue persists after clearing cache, I’d recommend raising it directly with Woodmart support and referencing the category limit behaviour. They’ll be able to confirm whether there’s a per_page cap in their block’s category query. Let us know what you find!