承接 sealink/feefo-review 相关项目开发

从需求分析到上线部署,全程专人跟进,保证项目质量与交付效率

邮箱:yvsm@zunyunkeji.com | QQ:316430983 | 微信:yvsm316

sealink/feefo-review

Composer 安装命令:

composer require sealink/feefo-review

包简介

Feefo Review Feed for Craft CMS

README 文档

README

Feefo Review Feed for Craft CMS

Installation

Install using composer

"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.

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.

{% 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>

统计信息

  • 总下载量: 1.44k
  • 月度下载量: 0
  • 日度下载量: 0
  • 收藏数: 0
  • 点击次数: 1
  • 依赖项目数: 0
  • 推荐数: 0

GitHub 信息

  • Stars: 0
  • Watchers: 1
  • Forks: 0
  • 开发语言: PHP

其他信息

  • 授权协议: Unknown
  • 更新时间: 2018-07-13

承接程序开发

PHP开发

VUE

Vue开发

前端开发

小程序开发

公众号开发

系统定制

数据库设计

云部署

网站建设

安全加固