Forum Replies Created
- leomoonParticipant5 years, 2 months ago in reply to: is_page() error in class-wpsolr-plugin-woocommerce.php resulting in null-object #10850
Not exactly the same, but now it fails at is_page(). Here are few last lines of the stack trace. If you go to http://www.antikvarijatknjiga.hr you can see the full trace.
wpsolr\pro\extensions\woocommerce\WPSOLR_Plugin_WooCommerce->is_product_category_url( )
…/class-wpsolr-plugin-woocommerce.php:357
is_shop( )
…/class-wpsolr-plugin-woocommerce.php:383
…/wc-conditional-functions.php:32
WP_Query->is_page( )leomoonParticipant5 years, 2 months ago in reply to: is_page() error in class-wpsolr-plugin-woocommerce.php resulting in null-object #10848The shop page indeed was not defined, but I got the woocommerce to make all the pages again, and the shop page now is defined (a default one, https://www.antikvarijatknjiga.hr/shop/), BUT, the errors are still there.
The is_shop() function returns false.
leomoonParticipant5 years, 2 months ago in reply to: Quicksearch results by Taxonomies as well as Products #10831That all sounds great. I assume of course that on the admin side we well be able to select which taxonomies and types are included in the suggestions.
I wanted to mention one scenario which, I assume would also fit in your current “trigger” approach: if I type in for example 1929-1939, the search should be able to parse this as a range, and, in my case this range would be the years that books have been published. This is not a priority right now, but just something to have in mind.
If you have the existing work in progress somewhere on-line, please send us the link so we can see how it would look like.
And BTW, for whatever reason, I don’t get any emails when this thread is replied to. It could be on my side, but I am merely using a regular gmail address and the “notify me of follow-ups” is checked every time.
leomoonParticipant5 years, 2 months ago in reply to: Quicksearch results by Taxonomies as well as Products #10754Your solution would definitely work, and you are making it an all-encompassing, which is great. I am at your disposal for any beta testing.
leomoonParticipant5 years, 2 months ago in reply to: Quicksearch results by Taxonomies as well as Products #10684Yes indeed, something like that, except that this example ultimately gives a list of individual products, whereas I would like to have taxonomy terms in such way that if I click on a quicksearch result and get archive view of individual products that match the taxonomy term. The only time I need individual product is if it is searched by SKU.
leomoonParticipant5 years, 2 months ago in reply to: Quicksearch results by Taxonomies as well as Products #10592One more add:
The only time I would need an end product to appear on quicksearch is if I search by SKU, which there cannot be more than one of.
leomoonParticipant5 years, 2 months ago in reply to: Quicksearch results by Taxonomies as well as Products #10591just to add:
Clicking on any of these search results, which are taxonomy terms, should result in archive view of all products matching that term.
And, needless to say, these taxonomies are actually Woocommerce product attributes, but woocommerce attributes are taxonomies ultimately so this mechanism would work outside of woocommerce as well I assume.leomoonParticipant5 years, 2 months ago in reply to: Quicksearch results by Taxonomies as well as Products #10590In my particular case, I actually need taxonomy terms as search results, not products. I should have an option to select which taxonomies are searchable, and then terms would appear, separated by taxonomies.
As an example, if I have following taxonomies:
– Author
– Publisher
– Category
– Title (normally, this would not be a taxonomy, but as I previously stated, in case of used books, even title is a taxonomy)And now if I search for “Adam”, I should get:
Titles:
“Adam in ochre by Colin Simpson”
Authors:
“Douglas Adams”
“Adam Schaff”
Publishers:
“Adams press”leomoonParticipant5 years, 2 months ago in reply to: Quicksearch results by Taxonomies as well as Products #10336On my subjective scale, out of all features I’d like to add to WPSOLR, this one is on the top. While I understand that this is not 10/10 priority for many others, for me it is 10/10.
I have over 60,000 products in the database and having just products show on quicksearch is problematic.
Since these are used books, each book that arrives, because of different condition, because of different edition, while having the same title shows up as product, but in fact, even the name of the book is a taxonomy for me.
In my case, I don’t even need the end products to be displayed in quicksearch, but rather, only taxonomy terms. Then, when a certain title shows up, it is in fact a taxonomy term that, when clicked, returns an archive view of all products (books) that match the term – in this case the title.
To return to the Duglas Adams example:
We have, say 9 books of the title “Hitchhikers guide to Galaxy”. Each of these is a separate product, not a variation of a single one. This is the way it has to be, because each is separately managed on an inventory level, each has its own photo, each in a different condtion, etc.
I only need one title to show up on quicksearch, not 9 of them. The title is taxonomy. There is only one term “Hitchhikers guide to Galaxy”, which should return an archive view of all 9 products.
If I can get this feature, I would definitely be extending my existing subscription.
leomoonParticipant5 years, 3 months ago in reply to: Quicksearch results by Taxonomies as well as Products #10137leomoonParticipant5 years, 3 months ago in reply to: Quicksearch results by Taxonomies as well as Products #10136They have something similar, although, instead of giving author taxonomy terms in the first section, they offer “popular searches”. In my case, I’d offer “Authors:” and “Publishers:” taxonomies before “Products:”.