Forum Replies Created
-
AuthorPosts
-
Ernest Marcinko
KeymasterYou cannot access this content.
Ernest Marcinko
KeymasterYou cannot access this content.
Ernest Marcinko
KeymasterYou cannot access this content.
June 2, 2023 at 9:56 am in reply to: Ajax Search Pro will not work on site / will not save any configueration changes #42920Ernest Marcinko
KeymasterYou cannot access this content.
June 2, 2023 at 9:47 am in reply to: Feature request: shortcode support for Top/Last searches #42915Ernest Marcinko
KeymasterYou cannot access this content.
Ernest Marcinko
KeymasterYou cannot access this content.
Ernest Marcinko
KeymasterNeat!
The stock status is very likely doable too. For that use this pseudo code in the advanced title field:
[<div class="{_stock_status}">Out of stock</div>]..and you will also need this custom CSS:
.asp_r .instock { display: none; } .asp_r .outofstock { color: #ff2a13; }June 1, 2023 at 5:54 pm in reply to: Feature request: shortcode support for Top/Last searches #42908Ernest Marcinko
KeymasterYou cannot access this content.
Ernest Marcinko
KeymasterYou cannot access this content.
Ernest Marcinko
KeymasterSorry, I forgot about that. You can change the minimum characters to enter to trigger from 0 to 1 or more here: https://i.imgur.com/OmEeIJ6.png
You should still try to fiddle a bit with the logic and the relevance values. I see a lot of lengthy content with many many words, so I would rather suggest trying the “AND with exact keyword matches” logic – there is a very high chance with that many words for matches. Additionally setting the secondary keyword logic to “AND” is a good practice just in case.
As for the relevance values if the titles are important, then in your case it might be beneficial to increase the title relevance by a lot. See with that many potential matches within the content it is possible that items with lot of partial occurences may get a higher relevance (just because of the high number of occurences). To balace that, you can increase the title relevance to something large like 300, and simultaniously reduce the content and excerpt relevances to 1: https://i.imgur.com/cuoky2R.png
That should make a significant change in the results order.Ernest Marcinko
KeymasterYou cannot access this content.
Ernest Marcinko
KeymasterHi Colin,
Sure! Try using the
{_price_html}pesudo variable. If still no line-through, then use this:<div class="product"><p class="price">{_price_html}</p></div>Ernest Marcinko
KeymasterBecause of the conflict of IDs for the filter. In case of the search the plugin “switches” database to look within the attribute values.
In case of filters the values are meaningless, the posts are connected to the attributes via their IDs. It’s sort of a N to N type of connection between unique keys (IDs). Because these keys (IDs) are only unique for each blog then there is currently no way to print the filters and use them because of this conflict.In theory there is probably a way to get around it by somehow marking/transforming the terms with the site IDs, but currently there is no modification I can suggest to do that.
June 1, 2023 at 3:56 pm in reply to: Run AjaxSeachPro On An Independent Server for App Access #42900Ernest Marcinko
KeymasterHi,
1. I’m afraid no, the content has to be accessible locally, within the current WordPress database.
2. You can get access to the search data via the WP Rest api, there is an endpoint to run queries directed to ajax search pro.I would probably setup the website with the search. On-site search is done with that step. Within the APP I would make a search bar and make it run queries to the rest API endpoint, then process the results within the APP as needed. I suppose mobile APP frameworks (like Unity) have libraries to make fetch requests and process JSON data, that is univerally used. I believe that is the simplest, easiest and most robust solution – as queriying the REST API endpoint will not break with updates.
Ernest Marcinko
KeymasterYou cannot access this content.
-
AuthorPosts