Download the PHP package turnto/social-commerce without Composer

On this page you can find all versions of the php package turnto/social-commerce. It is possible to download/install these versions without Composer. Possible dependencies are resolved automatically.

FAQ

After the download, you have to make one include require_once('vendor/autoload.php');. After that you have to import the classes with use statements.

Example:
If you use only one package a project is not needed. But if you use more then one package, without a project it is not possible to import the classes with use statements.

In general, it is recommended to use always a project to download your libraries. In an application normally there is more than one library needed.
Some PHP packages are not free to download and because of that hosted in private repositories. In this case some credentials are needed to access such packages. Please use the auth.json textarea to insert credentials, if a package is coming from a private repository. You can look here for more information.

  • Some hosting areas are not accessible by a terminal or SSH. Then it is not possible to use Composer.
  • To use Composer is sometimes complicated. Especially for beginners.
  • Composer needs much resources. Sometimes they are not available on a simple webspace.
  • If you are using private repositories you don't need to share your credentials. You can set up everything on our site and then you provide a simple download link to your team member.
  • Simplify your Composer build process. Use our own command line tool to download the vendor folder as binary. This makes your build process faster and you don't need to expose your credentials for private repositories.
Please rate this library. Is it a good library?

Informations about the package social-commerce

Emplifi Ratings & Reviews module for Magento 2

(Formerly TurnTo Social Commerce)

Use this Magento 2 extension to connect to Emplifi Ratings & Reviews. Compatible with Magento Open Source and Adobe Commerce, versions 2.3–2.4.

The Emplifi Ratings & Reviews extension integrates Adobe Commerce and Magento Open Source with Emplifi's Ratings & Reviews user-generated content platform. This extension enables merchants to:

Overview

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

Emplifi 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. Emplifi offers integrations with major eCommerce platforms and is built for the new world, reimagined for mobile, visual content, and messaging.

Installation Instructions

Install using Composer (recommended)

Follow the Adobe documentation to Install an extension

Composer Package turnto/social-commerce

  1. Run these commands in your root Magento installation directory for composer install:

  2. Configure the module to connect to your Emplifi account. Please see the Configuration section below.

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 the following commands from your root Magento installation directory:

  5. Configure the module to connect to your Emplifi account. Please see the Configuration section below.

Configuration

After installing the extension, configure it in the Admin:

Stores > Configuration > Emplifi Ratings & Reviews > Configuration

Enable the extension

To enable the extension, you need to set Enable Social Commerce to Yes and enter your Emplifi Site Key and Auth Key under General Settings. These credentials are required for the extension to connect to Emplifi services.

You can retrieve your Site Key and Auth Key from the Emplifi portal.

Enable the following features as desired:

Teaser

Teaser Type is used to select how the teaser is added to product detail pages.

Checkout Comments

When enabled, the extension will add the required code to capture user comments during checkout and display the comments. This feature requires enabling JavaScript to capture order data in real-time.

Product Feed Export to Emplifi

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

  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:

Product Detail Pages

Reviews displayed on product detail pages are loaded directly from Emplifi. The method used to retrieve and display review content is determined by the Setup Type configuration setting.

Product Listing Pages

Review ratings displayed on category, search, and other product listing pages are sourced from the Magento product attributes Review Count and Rating. These attributes are updated by the Import Ratings CRON job that retrieves a rating feed from Emplifi and updates the corresponding product attributes.

The rating feed is generated by Emplifi three times daily at approximately:

After a review is approved in Emplifi, changes will not appear on the product listing page until the next feed is generated and processed by the scheduled CRON job.

Historical Orders Feed Export to Emplifi

This feed exports order data for any order that has been modified in the previous two days will be sent to Emplifi nightly. Emplifi uses this order feed data to populate owner pools for Q&A and to schedule review solicitation emails based optionally on ship date instead of order date. In the feed file, the ship date (DELIVERYDATE) column is the creation date of the shipment that contains that specific order item.

Average Rating Feed Import from Emplifi

This feature synchronizes product review data from Emplifi to displayed throughout the storefront by populating the product rating attributes.

Custom Configuration

Note: This is an advanced configuration option and should only be configured by a developer.

If you need to customize the turnToConfig JS object which used by the extension to display content on the frontend, you can do so by adding a JS object to the Stores > Configuration > Emplifi Ratings & Reviews > 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:

These are the following locations where the turnToConfig object gets output on the frontend:

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.

Landing Page Widget

To add a widget for your email landing page, follow these steps:

  1. Navigate to Content > Pages and create or edit the desired page.
  2. Edit the page content using Page Builder.
  3. Add an HTML Code element where the widget should appear.
  4. Open the HTML editor and click Insert Widget....
  5. Select "TurnTo SpeedFlex – Landing Page" as the Widget Type.
  6. Click Insert Widget, then save the page.

Pinboard Widgets

The Emplifi extension provides three pinboard widget types:

To add a pinboard widget to a CMS page or CMS block:

  1. Navigate to Content > Pages or Content > Blocks and create or edit the desired content.
  2. Edit the content using Page Builder.
  3. Add an HTML Code content type where the widget should appear.
  4. Open the HTML editor and click Insert Widget....
  5. Select "TurnTo SpeedFlex – Pinboard" as the Widget Type.
  6. Choose the desired Content Type:
    • Comments Pinboard
    • Comment Pinboard Teaser
    • Visual Content Pinboard
  7. Configure any additional widget options.
  8. Click Insert Widget, then save the page or block.

CRON Schedule

This extension depends on the Magento CRON to synchronize data. Reference the Adobe Documentation for details on how to configure the Magento CRON. The exports are scheduled to run nightly, but the cron times can be modified if the default times cause a conflict. The Rating Import is scheduled to run after the file creation times in Emplifi. It is not recommended to move these times earlier as the updated files may not be created.

Troubleshooting

Logging

If you experience issues with the extension, review the extension logs in var/log/turnto.log.

Product Feed Export

View the product feed file

On the server, open the feed file written under var/turnto/. If a catalog is split into multiple batches, the file is overwritten, so only the last batch sent will be available.

Rating Synchronization

If review counts or ratings are not updating as expected, verify that the rating feed is available from Emplifi. The feed can be accessed using the following URL format:

Replace <SITE_KEY> and <AUTHORIZATION_KEY> with values from your Emplifi account.

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.


All versions of social-commerce with dependencies

PHP Build Version
Package Version
Requires ext-simplexml Version *
magento/framework Version 102.0.*||103.0.*
magento/module-backend Version 101.0.*||102.0.*
magento/module-catalog Version 103.0.*||104.0.*
magento/module-checkout Version 100.3.*||100.4.*
magento/module-config Version 101.1.*||101.2.*
magento/module-configurable-product Version 100.3.*||100.4.*
magento/module-cron Version 100.3.*||100.4.*
magento/module-customer Version 102.0.*||103.0.*
magento/module-eav Version 102.0.*||102.1.*
magento/module-rule Version 100.3.*||100.4.*
magento/module-review Version 100.3.*||100.4.*
magento/module-sales Version 102.0.*||103.0.*
magento/module-store Version 101.0.*||101.1.*
magento/module-swatches Version 100.3.*||100.4.*
magento/module-ui Version 101.1.*||101.2.*
magento/module-url-rewrite Version 101.1.*||102.0.*
magento/module-widget Version 101.1.*||101.2.*
php Version ^7.1||~8.0.0||~8.1.0||~8.2.0||~8.3.0||~8.4.0||~8.5.0
Composer command for our command line client (download client) This client runs in each environment. You don't need a specific PHP version etc. The first 20 API calls are free. Standard composer command

The package turnto/social-commerce contains the following files

Loading the files please wait ...