Kris
Forum Replies Created
-
Hi @richag
This support forum is only for users of the Free version of FiboSearch. Because you’re using the Pro version, please submit a support ticket via our website: https://fibosearch.com/contact/.
Regards,
KrisIn WooCommerce by default, each simple product can be added to the basket with one click. However, variable products require that you first select a given option, and then add this variable product to the cart.
Unfortunately, FiboSearch does not support the “Add to cart” functionality for variable products in the details panel.
Regards,
KrisForum: Plugins
In reply to: [FiboSearch - Ajax Search for WooCommerce] Go to the search pageHi, @alekseykurylev
To achieve that use this code snippet:
add_filter( 'dgwt/wcas/search_results/products', function ( $result, $product ) { $home_url = get_home_url( '/' ); $search_query = wp_unslash( $_REQUEST['s'] ); $permalink = add_query_arg( array( 'dgwt_wcas' => 1, 'post_type' => 'product', 's' => $search_query, ), $home_url ); $result['url'] = $permalink; return $result; }, 10, 2 );
You have two ways to add this code to your theme:
1. Open the functions.php in your child theme and add the code at the end.
2. or install the Code Snippets plugin and apply this code as a snippet.Regards,
KrisForum: Plugins
In reply to: [FiboSearch - Ajax Search for WooCommerce] Memory errorSorry, but we must stick to the guidelines https://www.ads-software.com/support/guidelines/ in which it is written:
Do not ask for help regarding premium themes/plugins.
This support forum is only for users of the Free version of FiboSearch. Because you’re using the Pro version, please submit a support ticket via our website: https://fibosearch.com/contact/.
Regards,
KrisForum: Plugins
In reply to: [FiboSearch - Ajax Search for WooCommerce] EAN/GTIN searchForum: Plugins
In reply to: [FiboSearch - Ajax Search for WooCommerce] Memory errorHi @webfactoryuk!
This support forum is only for users of the Free version of FiboSearch. Because you’re using the Pro version, please submit a support ticket via our website: https://fibosearch.com/contact/.
Regards,
KrisForum: Plugins
In reply to: [FiboSearch - Ajax Search for WooCommerce] EAN/GTIN searchHi @milka21!
This support forum is only for users of the Free version of FiboSearch. Because you’re asking about the Pro version, please submit a support ticket via our website: https://fibosearch.com/contact/.
Regards,
KrisForum: Plugins
In reply to: [FiboSearch - Ajax Search for WooCommerce] The WC function does not workHi again @denism300
You can try to directly modify the SQL query that is responsible for search results.
To do that you can use theposts_search
filter with higher priority than FiboSearch.Here is how FiboSearch uses this filter (with priority 501):
add_filter( 'posts_search', array( $this, 'searchFilters' ), 501, 2 );
Example how you can use it (you need to check if you are in FiboSearch context):
add_filter( 'posts_search', function( $search, $query ) { // Interrupt early if you are not in the FiboSearch context if ( ! ( defined( 'DGWT_WCAS_AJAX' ) && DGWT_WCAS_AJAX ) ) { return $search; } // Place to modify $search by your own rules }, 502, 2);
You can read more about filtering posts_search here: https://developer.www.ads-software.com/reference/hooks/posts_search/
Regards,
Kris- This reply was modified 3 years, 2 months ago by Kris.
Hi, again @nitof,
Sorry to hear that.
I checked in the browser’s console and noticed that your website has errors in JS.
See screen: https://prnt.sc/22s1rr0First error:
Uncaught TypeError: $ is not a function
$(".author-link").css("pointer-events","none");
-> to fix that change tojQuery(".author-link").css("pointer-events","none");
Second error (when you try to search for something):
Uncaught SyntaxError: Unexpected token < in JSON at position 0This error may be caused by this CSS code:
Code in markup: https://prnt.sc/22s3rwz
Error in console: https://prnt.sc/22s3y46
Try to move this CSS code into Admin Dashboard -> Appearance -> Customize -> Additional CSS.Regards,
KrisSorry to hear that.
I checked your website and found the Advanced Woo Search plugin for filters.
Unfortunately, FiboSearch is not compatible with this plugin.
For FiboSearch to work properly, please consider using a plugin that is compatible with it.Here’s the list of Compatible filters plugins with FiboSearch:
– FacetWP
– Advanced AJAX Product Filters
– Product Filters for WooCommerce
– WOOF – Products Filter for WooCommerce
– WooCommerce Product Filter
– Product Filter for WooCommerce
– JetSmartFiltersRead more about FiboSearch compatible filters plugins here
Best regards,
Krishi @nitof
Thank you for appreciating FiboSearch.
We are integrated with the Divi theme by Elegant Themes, so and you can replace the search bar with one checkbox.
Simply go WordPress Admin Dashboard -> WooCommerce -> FiboSearch -> Starting (tab).
Select the option “Replace all Divi search bars with the FiboSearch.” and the search bar should be replaced.More about FiboSearch and Divi integration: https://fibosearch.com/documentation/themes-integrations/divi-theme/
If you manage to enable FiboSearch Integration with Divi your search results page will remain the same. Here’s a tutorial on how to customize the search results page in Divi:
https://www.elegantthemes.com/blog/divi-resources/how-to-create-a-search-results-page-template-in-diviBest Regards
KrisForum: Plugins
In reply to: [FiboSearch - Ajax Search for WooCommerce] The WC function does not workHi @denism300
WC_Query::get_main_search_query_sql()
returns empty results due to the way of the plugin works. Perhaps we can help solve your problem if you could tell us the context of the use of this function.Best Regards
KrisForum: Plugins
In reply to: [FiboSearch - Ajax Search for WooCommerce] Disable link to product pageSorry to hear that @kybernetikservices
Please try this custom CSS solution:
.dgwt-wcas-has-headings .dgwt-wcas-suggestion { pointer-events: none; } .dgwt-wcas-suggestion-selected { background-color: inherit; }
Best Regards
Krzysztof ?lósarzForum: Plugins
In reply to: [FiboSearch - Ajax Search for WooCommerce] Search returns all productsHi @twinstar1
It seems to autocomplete search works properly, but the issue is related to the search results page.
This error may be caused by the plugin used for filtration. The best approach would be to deactivate plugins one by one and check if the issue still occurs after each deactivation. Also, try to switch your theme to e.g. Storefront, and check if the issue may be related to the theme.
This will help me determine if it’s not a compatibility issue and which plugin is the cause.
Forum: Plugins
In reply to: [FiboSearch - Ajax Search for WooCommerce] Disable link to product pageYou can disable links in suggestions using the following filter. This solution works with FiboSearch v1.9.1 and higher. You can paste it into the functions.php file in your child theme or use the Code Snippets plugin.
add_filter( 'dgwt/wcas/scripts/disable_hits', '__return_true' );
- This reply was modified 3 years, 2 months ago by Kris.