dev-master
9999999-devFeefo Review Feed for Craft CMS
The Requires
by TravelLink
1.0.0
1.0.0.0Feefo Review Feed for Craft CMS
The Requires
by TravelLink
Feefo Review Feed for Craft CMS
Feefo Review Feed for Craft CMS, (*1)
Install using composer, (*2)
"require": { "sealink/feefo-review": "1.0.0" }
Please set the Merchant Identifier in the plugin settings page. Without this value, the review widget and microdata won't appear., (*3)
{% 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 %}
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>
Feefo Review Feed for Craft CMS
Feefo Review Feed for Craft CMS