Verified Reviews in your Doofinder Layer

We know that one of the factors that can influence consumers the most when choosing your e-commerce instead of another is the opinion of other customers. In addition, it has also been proven that the faster you give all the necessary information to the consumer, the better their experience.

That is why, from now on, you will be able to show the opinions collected through Verified Reviews in the Doofinder search layer. Do you want to know how? We will tell you everything in this post.

The purpose of this article is to help you integrate the Verified Reviews widget scores with the Doofinder layer as Taklope.com has done.

To do this, you have to start by modifying the Doofinder installation script, adding a bit of javascript code to collect the overall score of each product. In order to do this, you need to:

  1. Enable the Statistics API for Verified Reviews: contact Verified Reviews and they will give you the URL to ask for the ratings. This URL will look something like:  http://cl.avis-verifies.com/fr/cache/6/0/7/706150b5-f06b-5f94-fd02-1b03c2504616/AWS/PRODUCT_API/AVERAGE/
  2. Add the required CSS styles so the rating widget displays properly. You can do it by including an external CSS in your site or by placing the provided CSS directly inside a <style> tag in the source code of your page.
  3. Add the widget template to the source code of your page. The template uses Mustache as the template engine as the layer does.
  4. Modify your installation script in a similar way as in the sample provided in this post.

The CSS:

The template:

The script:

Once you’ve completed these steps, you’ll be able to enjoy the scoring offered by Verified Reviews in your Doofinder search layer. 

If you want more information or need help integrating this, contact us at info@doofinder.com

Remember that you can also find us on Facebook, Twitter and Linkedin.