2017 © Pedro Peláez
 

magento2-module social-commerce

image

turnto/social-commerce

  • Monday, July 2, 2018
  • by turntotech
  • Repository
  • 16 Watchers
  • 1 Stars
  • 5,045 Installations
  • PHP
  • 0 Dependents
  • 0 Suggesters
  • 4 Forks
  • 1 Open issues
  • 32 Versions
  • 17 % Grown

The README.md

Pixlee TurnTo Ratings & Reviews plugin for Magento 2

Use this Magento 2 extension to connects to Emplifi's Pixlee TurnTo Ratings & Reviews service. Compatible with Magento Open Source and Adobe Commerce, versions 2.3.x - 2.4.6., (*1)

Installation Instructions

Follow the Adobe documentation to Install an extension, (*2)

Composer Package turnto/social-commerce, (*3)

  1. Run these commands in your root Magento installation directory for composer install:, (*4)

    composer require turnto/social-commerce
    bin/magento module:enable TurnTo_SocialCommerce --clear-static-content
    bin/magento setup:upgrade
    bin/magento setup:di:compile
    bin/magento cache:clean
    
  2. Configure the module to connect to your TurnTo account. Please see the General Configuration section below., (*5)

Install by copying files

  1. Create a code/TurnTo/SocialCommerce directory in the app directory of your Magento installation.
  2. Download the latest "Source code" from this page: https://github.com/turnto/magento2-turnto-socialcommerce/releases
  3. Extract the file and copy the contents of the TurnTo_SocialCommerce-*** directory into the app/code/TurnTo/SocialCommerce directory.
  4. Run following commands from your root Magento installation directory:, (*6)

    bin/magento module:enable TurnTo_SocialCommerce --clear-static-content
    bin/magento setup:upgrade
    bin/magento setup:di:compile
    bin/magento cache:clean
    
  5. Configure the module to connect to your TurnTo account. Please see the General Configuration section below., (*7)

Documentation

General Configuration

It is imperative that you add your TurnTo site key and auth key. TurnTo Site keys allow the Magento extension to connect to your TurnTo account. You can find your Site Key and Auth Key in the TurnTo portal or by contacting your Emplifi Customer Success team., (*8)

After installing the extension, login to the backend and configure the extension in STORES > Configuration > TURNTO SOCIAL COMMERCE > Configuration. Here is a screenshot of the extension as of version 3.2.2 (click to zoom):, (*9)

Magento 2 configuration page, (*10)

CRON Configuration

This extension depends on the Magento CRON being configured in order to work properly. Reference the Adobe Docs for details on how to configure the Magento CRON., (*11)

Catalog Feed Export to TurnTo

If the Enable Automated Feed Submission configuration option is set to Yes, on a nightly basis, Magento will export a feed of all products to TurnTo. This feed will include links to product images. In order for this link to be accurate, you will need to do the following:, (*12)

  1. Login to the backend.
  2. Go to STORES > Configuration > GENERAL > Web
  3. Do the following (if you have multiple store views, follow these steps for each "Store View" scope):
    1. For the Base URLS > Base URL for User Media Files field, ensure a value is entered. If the field is blank, enter this value: {{unsecure_base_url}}media/
    2. For the Base URLS (Secure) > Secure Base URL for User Media Files field, ensure a value is entered. If the field is blank, enter this value: {{secure_base_url}}media/ Here is a screenshot of an example configuration:

Media Url Configuration, (*13)

If your store has 10,000 or more items in the catalog:

If your catalog has 10,000 or more items, the size of the export file can reach over 6Mb. Please check your php.ini or your htaccess files to ensure that upload_max_filesize and post_max_size are set to a large enough value. We recommend setting them both to 10M., (*14)

Rating Import from TurnTo

If the Enable Reviews configuration option is set to Yes:, (*15)

  1. The reviews that display on product detail pages will be loaded directly from TurnTo. Exactly how the review data gets pull from TurnTo is determined by the Setup Type setting., (*16)

  2. The reviews that display on product listing pages will be loaded from the "Review Count" and "Rating" product attributes. Those attributes get updated on a CRON job that runs hourly. The CRON job will request an XML feed from TurnTo and will update those product attributes. If you encounter issues where those attributes are not updated like you'd expect, you can manually review the contents of the XML feed that Magento is retrieving from TurnTo by creating a url that matches this pattern: https://export.turnto.com/<SITE_KEY>/<AUTHORIZATION_KEY>/turnto-skuaveragerating.xml where <SITE_KEY> and <AUTHORIZATION_KEY> are the values you entered into the corresponding fields in the TurnTo configuration fields in the admin. The XML file is generated by TurnTo twice daily (at 3AM EST and 11AM EST), so once you approve a new review for a product, you'll need to wait a while to see the changes reflected in the XML file., (*17)

Custom Configuration

Note: This is an advanced configuration option and should only be configured by a developer., (*18)

If you'd to customize the turnToConfig JS object that gets output whenever TurnTo is used on the frontend, you can do so by adding a JS object to the STORES > Configuration > TURNTO SOCIAL COMMERCE > Configuration > Custom Configuration field. You must enter a valid JS object into this field, as the contents of the JS object that you enter will get merged with the contents of the existing turnToConfig object. Here is an example of a valid value that could be added to the Custom Configuration field:, (*19)

{
    reviewTitleInstruction: 'Summary for your review',
    eventHandlers: {
         reviewSubmit: function(evt) {
            // your code here
         }
    }
}

These are the following locations where the turnToConfig object gets output on the frontend:, (*20)

  • Product detail pages (reviews, Q&A, checkout comment display widget, visual gallery widget)
  • Checkout comments on checkout confirmation page
  • Pinboard widget
  • Mobile landing page

When you add values to this configuration field, it is critical that you enter a valid JS object and that you test to ensure you didn't cause any JS errors., (*21)

Visual Content and Checkout Comment Pinboards

The TurnTo extension implements a custom widget that allows an admin to insert "Visual Content" pinboards or "Checkout Comment" pinboards. To insert this widget, edit a CMS page or CMS block and click the "Insert Widget…" button and select "TurnTo SpeedFlex". You'll then be able to configure and insert the widget using these options:, (*22)

Pinboard widget, (*23)

The TurnTo extension implements a custom widget that allows a user to toggle a gallery row of user submitted images on the product page. To enable this widget, go to Stores -> Configuration -> TurnTo SocialCommerce -> Configuration -> Visual Content -> Enable PDP Gallery Row and set the value to "Yes.", (*24)

Gallery Row widget, (*25)

Troubleshooting

  • General - If you experience issues with the extension, review the errors in the var/log/turnto.log file, as that is where all TurnTo errors are logged.
  • Issue when "Minify JavaScript Files" is enabled - If you're using Magento's "Minify JavaScript Files" feature, see this page for details on how to get it working with this extension.
  • How to review product feed that is sent to TurnTo - See this Github issue: #27

About Emplifi's Pixlee TurnTo Social Commerce

Emplifi's Pixlee TurnTo is a premier provider of customer content solutions to top merchants and brands. With a unique suite of 4 innovative products that work beautifully together - Ratings & Reviews, Community Q&A, Visual Reviews, and Checkout Comments - Pixlee TurnTo produces more content of more different types, delivering greater conversion lift, better SEO, and deeper merchandising insights., (*26)

Pixlee TurnTo clients enjoy a world-class Ratings & Reviews platform, a Q&A system designed to maximize customer engagement and help shoppers find fast answers from a variety of sources, a highly engaging source of real-time customer content with Checkout Comments, and a permissions-cleared source of customer photos and videos through Visual Reviews. Pixlee TurnTo offers integrations with major eCommerce platforms and is built for the new world, reimagined for mobile, visual content, and messaging. ECommerce leaders like Saks Fifth Avenue, Newegg, Sur La Table, and GNC, and brands like Cole Haan, Jockey, and Clarins rely on Pixlee TurnTo for their customer-voice programs., (*27)

License

This project is licensed under the Open Software License (OSL 3.0) – Please see LICENSE.txt for the full text of the OSL 3.0 license., (*28)

The Versions

02/07 2018

dev-develop

dev-develop

  Sources   Download

The Requires

  • magento/framework >= 100

 

02/07 2018

dev-master

9999999-dev

  Sources   Download

The Requires

  • magento/framework >= 100

 

02/07 2018

2.1.1

2.1.1.0

  Sources   Download

The Requires

  • magento/framework >= 100

 

23/05 2018

dev-feature/2.1.0

dev-feature/2.1.0

  Sources   Download

The Requires

  • magento/framework >= 100

 

23/05 2018

dev-release/2.1.0

dev-release/2.1.0

  Sources   Download

The Requires

  • magento/framework >= 100

 

02/05 2018

2.0.0

2.0.0.0

  Sources   Download

The Requires

  • magento/framework >= 100

 

13/04 2018

dev-release/2.0.0

dev-release/2.0.0

  Sources   Download

The Requires

  • magento/framework >= 100

 

09/04 2018

dev-fix-bad-revert

dev-fix-bad-revert

  Sources   Download

The Requires

  • magento/framework >= 100

 

28/03 2018

dev-feature/fix-catalog-export-availability

dev-feature/fix-catalog-export-availability

  Sources   Download

The Requires

  • magento/framework >= 100

 

27/03 2018

dev-revert-35-feature/update-for-magento-2-2-2

dev-revert-35-feature/update-for-magento-2-2-2

  Sources   Download

The Requires

  • magento/framework >= 100

 

26/03 2018

dev-feature/update-for-magento-2-2-2

dev-feature/update-for-magento-2-2-2

  Sources   Download

The Requires

  • magento/framework >= 100

 

03/03 2018

dev-feature/TTO-495_34-fix-order-feed-cron

dev-feature/TTO-495_34-fix-order-feed-cron

  Sources   Download

The Requires

  • magento/framework >= 100

 

19/01 2018

1.3.0

1.3.0.0

  Sources   Download

The Requires

  • magento/framework >= 100

 

19/01 2018

dev-feature/fix-reindex-when-importing-reviews

dev-feature/fix-reindex-when-importing-reviews

  Sources   Download

The Requires

  • magento/framework >= 100

 

16/01 2018

dev-feature/2-2-support

dev-feature/2-2-support

  Sources   Download

The Requires

  • magento/framework 100.*

 

12/12 2017

1.2.0

1.2.0.0

  Sources   Download

The Requires

  • magento/framework 100.*

 

01/12 2017

dev-feature/mobilelanding-sso

dev-feature/mobilelanding-sso

  Sources   Download

The Requires

  • magento/framework 100.*

 

18/10 2017

1.1.2

1.1.2.0

  Sources   Download

The Requires

  • magento/framework 100.*

 

04/10 2017

1.1.1

1.1.1.0

  Sources   Download

The Requires

  • magento/framework 100.*

 

03/10 2017

dev-feature/add-ability-to-override-item_group_id

dev-feature/add-ability-to-override-item_group_id

  Sources   Download

The Requires

  • magento/framework 100.*

 

29/09 2017

dev-feature/add-to-field-to-order-export

dev-feature/add-to-field-to-order-export

  Sources   Download

The Requires

  • magento/framework 100.*

 

24/09 2017

1.1.0

1.1.0.0

  Sources   Download

The Requires

  • magento/framework 100.*

 

24/09 2017

dev-release/1.1.0

dev-release/1.1.0

  Sources   Download

The Requires

  • magento/framework 100.*

 

22/09 2017

dev-feature/495_20-add-to-field-to-order-export

dev-feature/495_20-add-to-field-to-order-export

  Sources   Download

The Requires

  • magento/framework 100.*

 

12/09 2017

dev-feature/single-sign-on

dev-feature/single-sign-on

  Sources   Download

The Requires

  • magento/framework 100.*

 

28/07 2017

1.0.4

1.0.4.0

  Sources   Download

The Requires

  • magento/framework 100.*

 

29/06 2017

1.0.3

1.0.3.0

  Sources   Download

The Requires

  • magento/framework 100.*

 

14/06 2017

1.0.2

1.0.2.0

  Sources   Download

The Requires

  • magento/framework 100.*

 

13/06 2017

dev-feature/fix-catalog-feed-image-url

dev-feature/fix-catalog-feed-image-url

  Sources   Download

The Requires

  • magento/framework 100.*

 

18/04 2017

dev-feature/cron-fix

dev-feature/cron-fix

  Sources   Download

The Requires

  • magento/framework 100.*

 

24/08 2016

1.0.1

1.0.1.0

  Sources   Download

The Requires

  • magento/framework 100.*

 

09/08 2016

1.0.0

1.0.0.0

  Sources   Download

The Requires

  • magento/framework 100.*