Forum Replies Created
-
wpsolrKeymaster7 years, 4 months ago in reply to: No enabled connection on Cloudways #12303
Send to the support the result of
curl -XGET "https://localhost:9200/"wpsolrKeymaster7 years, 4 months ago in reply to: No enabled connection on Cloudways #12300Your Elasticsearch service has an issue apparently.
wpsolrKeymaster7 years, 4 months ago in reply to: No enabled connection on Cloudways #12298Try to connect to the index locally.
1) ssh to the server (instruction are in the Cloudways panel, see https://support.cloudways.com/difference-between-master-credentials-and-application-credentials/#tab-2)
2) execute the command line
curl -XGET "https://localhost:9200/"you should get something like
{ "name" : "Iw0mu0h", "cluster_name" : "elasticsearch", "cluster_uuid" : "jcF4CSf3RXqb8Sv_ArZ5Jg", "version" : { "number" : "6.3.1", "build_flavor" : "default", "build_type" : "deb", "build_hash" : "eb782d0", "build_date" : "2018-06-29T21:59:26.107521Z", "build_snapshot" : false, "lucene_version" : "7.3.1", "minimum_wire_compatibility_version" : "5.6.0", "minimum_index_compatibility_version" : "5.0.0" }, "tagline" : "You Know, for Search" }If not, contact the Cloudways support with this information.
Perhaps also your server is too small to cope with both WordPress and Elasticsearch.
wpsolrKeymaster7 years, 4 months ago in reply to: No enabled connection on Cloudways #12295It should work fine.
wpsolr.com is on Cloudways, with our plugin configured to use the local Elasticsearch service.Try to restart your Elasticsearch service in your Cloudways server console “Manage services”.
wpsolrKeymaster7 years, 4 months ago in reply to: Product found in instant search but not on search result page #12294I can see 2 products on https://medicalstore.com.pk/?s=risek+infusion&post_type=product
wpsolrKeymaster7 years, 4 months ago in reply to: empty category pages #12293Please verify that you activated our WPSOLR WooCommerce extension, with “Replace category search” checked.
wpsolrKeymaster7 years, 4 months ago in reply to: No enabled connection on Cloudways #12291It looks fine.
When do you get your error?
wpsolrKeymaster7 years, 4 months ago in reply to: No enabled connection on Cloudways #12289Can I see your index settings in your WPSOLR admin?
wpsolrKeymaster7 years, 4 months ago in reply to: Quicksearch results by Taxonomies as well as Products #12284Let me know if you’re interested in a version that allows full customisation of the suggestions (both data and template).
The plugin now contains a folder “/wpsolr-examples”, with a list of fully functional Twenty Sixteen child themes. The first child theme is about suggestions, with its functions.php full of code on how to create new twig templates and fill them with custom data.
wpsolrKeymaster7 years, 4 months ago in reply to: Faceted Search functionality #12282Hi,
The facet widgets are very different from WPSOLR’s. So, probably not. At least without rewriting a large portion of WPSOLR.
wpsolrKeymaster7 years, 4 months ago in reply to: Actions and filters documentation #12280wpsolrKeymaster7 years, 4 months ago in reply to: Quicksearch results by Taxonomies as well as Products #12278The latest twig code:
{#******************************************* Build the suggestions results grouped {{ dump(suggestions) }} ********************************************#} {# Fancy css #} {{ include ("suggestions/fancy/suggestions-groups-css.twig") }} {% if suggestions.settings.image_width_pct > 0 %} <style> .c{{ suggestions.settings.suggestion_uuid }} .result-image { width: {{ suggestions.settings.image_width_pct }}%; } </style> {% endif %} {# Custom css #} {{ include ("suggestions/suggestions-custom-css.twig", {css: suggestions.settings.css}, with_context = false) }} <ul class="wpsolr_suggestions c{{ suggestions.settings.suggestion_uuid }}"> {% for group in suggestions.results %} <h4>{{ group.label }}</h4> {% for result in group.items %} <li> <div class="flex"> {% if result.image_src and suggestions.settings.image_width_pct > 0 %} <div class="result-image"> <a href="{{ result.title.href }}" title="{{ result.title.title }}"> <img src="{{ result.image_src }}" alt="{{ result.title.title }}"> </a> </div> {% endif %} <div class="result-text"> <div class="title-wrap"> <p class="title"> <a href="{{ result.title.href }}" title="{{ result.title.title }}"> {{ result.title.title }} </a> </p> {# <p class="category"><a href="" title="">Shoes & Bags</a></p> #} </div> {# Other information, like price, added by WPSOLR extensiàon or custom code #} {% for subtitle in result.subtitles %} <p class="subhead">{{ subtitle }}</p> {% endfor %} <p class="desc"> {% if suggestions.settings.is_show_text and result.content|length > 10 %} {{ result.content }} {% endif %} </p> </div> </div> </li> {% endfor %} {% endfor %} </ul>wpsolrKeymaster7 years, 4 months ago in reply to: Add-to-cart/Waitlist disappears when changing sort order #12276WPSOLR triggers an event when the Ajax load is complete:
$(document).trigger('wpsolr_on_ajax_success');You can catch the event to refresh your buttons. WPSOLR use the same principle to refresh some js facets widgets.
wpsolrKeymaster7 years, 4 months ago in reply to: Add-to-cart/Waitlist disappears when changing sort order #12275These buttons are probably added by a javascript code. With the WPSOLR Ajax mode on, the js code is probably not re-triggered when the html code is reloaded.
You can try to deactivate the Ajax mode.
wpsolrKeymaster7 years, 4 months ago in reply to: Can't create first index #12274You can get the trial on the pricing page.