Menu Close

Get Support From ShopWired Close

All systems fully operational

Subscribe To Updates
Prefer To Live Chat? Chat directly with ShopWired support Available from 9.00am to 6.00pm Monday to Friday Quickest response time
Send A Message
Response within 24 hours

Menu Close

Menu

Feefo Feedback Engine

Installation instructions (all theme versions)

These instructions allow you to display Feefo reviews on your website.

Once you've installed the app, you'll need to add the relevant code to your live theme's files by using the page editor for your live theme. Alternatively, if you don't want to add the code yourself, you can select request installation on the app installation page, and we will install the code for you for a small charge which is shown on the installation page.


Twig variables

1. The code for service reviews is as follows:

{% for review in global.feefo_reviews %}
    {{ review.title }}
    {{ review.comment }}
    {{ review.rating }}
    {{ review.date|date('d/m/Y') }}
    {{ review.product_code }}
{% endfor %}

This code is usually placed on the home page (i.e. home.twig file), other content pages of your website or on the product page.

2. The code for product reviews is as follows:

{% for review in product.feefo_reviews %}
    {{ review.title }}
    {{ review.comment }}
    {{ review.rating }}
    {{ review.date|date('d/m/Y') }}
    {{ review.product_code }}
{% endfor %}

3. You can use the variable {{ product.feefo_review_count }} to display the number of reviews a product has received.

Please note: A product review will only display on the product page, so the code needs to be added to the product.twig file (for Version 2 or earlier themes) or product_form.twig file (for Version 3 or later themes). It is matched via the SKU code for the product, so you'll need to ensure that the SKU code for the product on your website matches the SKU code for the product on Feefo.