2017 © Pedro Peláez
 

craft-plugin feefo-review

Feefo Review Feed for Craft CMS

image

sealink/feefo-review

Feefo Review Feed for Craft CMS

  • Friday, July 13, 2018
  • by sealink-developers
  • Repository
  • 1 Watchers
  • 0 Stars
  • 74 Installations
  • PHP
  • 0 Dependents
  • 0 Suggesters
  • 0 Forks
  • 0 Open issues
  • 2 Versions
  • 0 % Grown

The README.md

Feefo Review

Feefo Review Feed for Craft CMS, (*1)

Installation

Install using composer, (*2)

"require": {
  "sealink/feefo-review": "1.0.0"
}

Setting up Merchant Identifier

Please set the Merchant Identifier in the plugin settings page. Without this value, the review widget and microdata won't appear., (*3)

Example Usage

Add structured data on view template or make a partial template to render the Feefo review summary

{% set reviewSummary = craft.feefoReview.getReviewSummary(entry.feefoProductCode) %}
{% if reviewSummary %}
  <h5>Reviews</h5>
  <div itemprop="aggregateRating"
    itemscope itemtype="http://schema.org/AggregateRating">
   Rated <span itemprop="ratingValue">{{reviewSummary.rating}}</span>/5
   based on <span itemprop="reviewCount">{{reviewSummary.review_count}}</span>
  </div>
{% endif %}

Add a Feefo Widget for product reviews

This sample code can be used to render a Feefo Widget using Feefo service. The widget provides a review listing with a popup., (*4)

{% set reviewSummary = craft.feefoReview.getReviewSummary(entry.feefoProductCode) %}
<script type="text/javascript" src="https://api.feefo.com/api/javascript/{{craft.feefoReview.feefoMerchantId()}}"></script>
<div id="feefologohere" data-product-sku="{{ entry.feefoProductCode }}"></div>

The Versions

13/07 2018

dev-master

9999999-dev

Feefo Review Feed for Craft CMS

  Sources   Download

The Requires

 

by TravelLink

13/07 2018

1.0.0

1.0.0.0

Feefo Review Feed for Craft CMS

  Sources   Download

The Requires

 

by TravelLink