Forum Replies Created
-
wpsolrKeymaster5 years ago in reply to: Uncaught ReferenceError: wp_localize_script_autocomplete is not defined #27927
Please replace your current WPSOLR version with this release, and clear your caches: https://www.dropbox.com/s/hqj4ia77jloh3rd/wpsolr-pro-fix-js-when-html-optimised.zip?dl=0
The release includes the following fixes/improvements:
– Prevent wp_localize_script_autocomplete javascript error when HTML is optimisedwpsolrKeymaster5 years ago in reply to: Uncaught ReferenceError: wp_localize_script_autocomplete is not defined #27926I’m building a quick fix right now.
wpsolrKeymaster5 years ago in reply to: Uncaught ReferenceError: wp_localize_script_autocomplete is not defined #27925It looks like your HTML code is optimised, and that the WPSOLR javascript variable declaration is deferred, causing the error.
wpsolrKeymaster5 years ago in reply to: Coupons sometimes show and sometimes not #27923Please add the card in your custom work Trello dashboard.
wpsolrKeymaster5 years ago in reply to: Coupons sometimes show and sometimes not #27920This is a new requirement indeed.
- This reply was modified 5 years ago by wpsolr.
wpsolrKeymaster5 years ago in reply to: Coupons sometimes show and sometimes not #27917It’s far from perfect, as the sort is deactivated when a filter is selected.
But I have no better solution for now.wpsolrKeymaster5 years ago in reply to: Coupons sometimes show and sometimes not #27916You can add the sort to the shop/category links: ?wpsolr_sort=total_sales_str_desc
wpsolrKeymaster5 years ago in reply to: Coupons sometimes show and sometimes not #27914I recommend to remove it for now.
‘total_sales_f’ can only apply on product archives: it will fail you queries on front-end or back-end for other archives.
wpsolrKeymaster5 years ago in reply to: Coupons sometimes show and sometimes not #27912What happens if you remove ‘total_sales_f’ from your default search sort settings in screen 2.5 ?
wpsolrKeymaster5 years ago in reply to: only products show in search results #27910Please create another topic for this new issue.
wpsolrKeymaster5 years ago in reply to: only products show in search results #27907If your page size is 400, you can browse up to 10K/400 = 25 pages maximum. Or you need to remove the 10K rows limit of Elasticsearch as explained in the other topic.
wpsolrKeymaster5 years ago in reply to: only products show in search results #27905If your page size is 500 rows, 20×500 = 10K rows, which is the default limit for Elasticsearch.
Checkout: /forums/topic/remove-10000-limit-when-using-elasticsearch/
The easiest fix is not to browse all results, hence narrowing the search results with search keywords.
wpsolrKeymaster5 years ago in reply to: only products show in search results #27902Did you check “Re-index all the data in place” while reindeing posts and coupons?
wpsolrKeymaster5 years ago in reply to: only products show in search results #27900Try without Redis cache on production, we’ll see.
wpsolrKeymaster5 years ago in reply to: only products show in search results #27897Do you import some data from external sources?