Recommendations is not working
-
abdulazizasifParticipant1 year, 12 months ago #46261
Hi,
I am using WPSolr Enterprise on our website.
I am trying to use “Recommendations” option on our product single page. I have added the Shortcode generated after configuring Recommendations but it is not showing at the frontend instead it is showing below warning message
Warning: Array to string conversion in /www/wp-content/plugins/wpsolr-enterprise/wpsolr/core/classes/engines/elasticsearch_php/class-wpsolr-searchelasticsearchclient.php on line 2106
Please suggest how to make it work
- This topic was modified 1 year, 12 months ago by abdulazizasif.
abdulazizasifParticipant1 year, 12 months ago #46272Unselect log query option is on screen 2.1 and not on 2.2
abdulazizasifParticipant1 year, 12 months ago #46274No error is not showing now. But the Recommendations are showing on product page.
wpsolrKeymaster1 year, 12 months ago #46275But the Recommendations are showing on product page.
Great! The problem with logs will be fixed on Release 24.0
abdulazizasifParticipant1 year, 12 months ago #46285Sorry, I meant to say, errors are not coming anymore but the Recommendations are not showing on product single page even after adding the generated shortcode.
Thanks
ASIFabdulazizasifParticipant1 year, 12 months ago #46287Does it require Re-Indexing data after configuring Recommendations on 2.3 screen?
Data was indexed already and then I configured Recommendations on 2.3.
Thanks
AsifabdulazizasifParticipant1 year, 12 months ago #46334Hi,
This would be difficult for us to Index Products as well. We are only showing variations on front-end and it would be a nightmare to handle this.Is there any workaround for this.
Thanks
ASIFwpsolrKeymaster1 year, 11 months ago #46335If you want to show related items to a product, the product itself must be in the index to be compared to.
But indexing both products and variations should not be an issue, as your search can be filtered by the post_type.
For instance, in the facet settings, set the post type “product_variation” as select by default.
You must be logged in to reply to this topic.