This article explains how to install and uninstall the Shopify eCommerce Plugin. The plugin has been designed to be independent of the version of Shopify being used.

The Shopify Plugin allows a merchant using Shopify to send their sales data automatically to Feefo. We then send a feedback request on their behalf to all customers and collate and publish all feedback. This results in a Feefo star rating and a full set of reviews that can be seen on both the Feefo and merchant's websites. For more details see the Shopify app store.

We retrieve orders with any status for the purpose of generating feedback requests but if any of the orders have a cancelled date attributed to them we will skip these. We can also 'exclude' certain products so that when any are purchased, a feedback request is not sent. To do this, you need to create a collection titled feefo_exclude and add the products to this collection. This can mean that if all products in a customer’s order are from the feefo_exclude collection, we won't send a feedback request for any part of the order to that customer. To configure this option see Shopify - How To Exclude Products? 

Sales tags are supported through the Shopify Plugin using collections. See Shopify - Can I Add Tags To My Data? for more details.

If you are experiencing difficulties pulling your sales data into Feefo, please contact our Technical Team for further assistance.

The Shopify plugin provides three different sets of Feefo review data:

  • A service rating widget that floats over the web page and is visible at all times. The colour, size and position of this widget are configurable from the Feefo Administration Portal under 'Settings > Integration Preferences'.
  • A product star rating widget that's normally placed near to the purchasing button showing the star rating for just this product.
  • A product reviews widget located towards the bottom of the product page that lists only this product's reviews.

If you have questions about the plugin, take a look at our eCommerce Plugin FAQs or contact our Technical Team.

Before starting the installation process, ensure that the accounts you plan to use for both the Shopify App Store and Feefo Administration Portal have the same login email address.

To install the plugin, three pieces of code need to be added to your Shopify site template. Adding the code can either be done through the Shopify app store or through the Feefo Administration Portal.

Installation via the Shopify App Store

The Shopify app store provides a one-click installation process and an interactive guide that takes care of everything for you.

Installation via the Feefo Administration Portal

Login to the Feefo Administration Portal and choose 'Settings > Integration Preferences'. Near the bottom of this screen, you will find a section named 'Platform Installation Packages' and below this, the package for Shopify. Click on the 'Install package' button under 'Shopify' and follow the on-screen prompts. You will be taken through a series of easy-to-follow steps to add the necessary code to enable the Shopify Plugin.

Uninstall

We are working on a one-click uninstall process for the Shopify plugin but at the moment, to uninstall it, the three lines of code added must be removed manually. Assuming the code has been added in our recommended locations, the installation steps are as follows:

  1. From the Shopify admin panel, click 'Online Store and Themes'.
  2. Click “…” followed by Edit HTML/CSS
  3. Layout > theme.liquid:

    Remove:

    <script type="text/javascript" id="feefo-plugin-widget-bootstrap" src="//api.feefo.com/api/ecommerce/plugin/widget/merchant/merchantidentifier" async></script>
  4. Templates > product.liquid. 

    Remove:

    <div class="feefo-review-badge-wrapper-product">
  5. Templates > product.liquid: 

    Remove:

    <div id="feefo-product-review-widgetId" class="feefo-review-widget-product" data-feefo-product-id={{ product.id }}>