turnto / social-commerce
Social commerce platform to collect, manage, and display ratings and reviews to enhance your Magento store
Installs: 111 089
Dependents: 0
Suggesters: 0
Security: 0
Stars: 3
Watchers: 20
Forks: 14
Open Issues: 2
Type:magento2-module
Requires
- php: ^7.1||~8.0.0||~8.1.0||~8.2.0||~8.3.0
- magento/framework: 102.0.*||103.0.*
- magento/module-backend: 101.0.*||102.0.*
- magento/module-catalog: 103.0.*||104.0.*
- magento/module-checkout: 100.3.*||100.4.*
- magento/module-config: 101.1.*||101.2.*
- magento/module-configurable-product: 100.3.*||100.4.*
- magento/module-cron: 100.3.*||100.4.*
- magento/module-eav: 102.0.*||102.1.*
- magento/module-review: 100.3.*||100.4.*
- magento/module-sales: 102.0.*||103.0.*
- magento/module-store: 101.0.*||101.1.*
- magento/module-swatches: 100.3.*||100.4.*
- magento/module-ui: 101.1.*||101.2.*
- magento/module-url-rewrite: 101.1.*||102.0.*
- magento/module-widget: 101.1.*||101.2.*
- dev-master
- 3.8.6
- 3.8.5
- 3.8.4
- 3.8.3
- 3.8.2
- 3.8.1
- 3.8.0
- 3.7.9
- 3.7.8
- 3.7.7
- 3.7.6
- 3.7.5
- 3.7.4
- 3.7.3
- 3.7.2
- 3.7.1
- 3.7.0
- 3.6.10
- 3.6.9
- 3.6.7
- 3.6.6
- 3.6.5
- 3.6.4
- 3.6.3
- 3.6.2
- 3.6.1
- 3.6.0
- 3.5.6
- 3.5.5
- 3.5.4
- 3.5.3
- 3.5.2
- 3.5.1
- 3.5.0
- 3.4.4
- 3.4.3
- 3.4.2
- 3.4.0
- 3.3.2
- 3.3.1
- 3.3.0
- 3.2.2
- 3.2.1
- 3.1.1
- 3.1.0
- 3.0.5
- 3.0.4
- 3.0.3
- 3.0.2
- 3.0.1
- 3.0.0
- 2.1.3
- 2.1.2
- 2.1.1
- 2.0.0
- 1.3.0
- 1.2.0
- 1.1.2
- 1.1.1
- 1.1.0
- 1.0.4
- 1.0.3
- 1.0.2
- 1.0.1
- 1.0.0
- dev-feature/TTOR01-44-memory-improvments
- dev-release/3.8.6
- dev-bugfix/TSD-325
- dev-release/3.8.5
- dev-release/3.8.4
- dev-develop
- dev-release/3.8.2
- dev-custom/log-product-sql
- dev-integration/unit-tests
- dev-feature/TTOR01-72-order-export-refactor-fixes
- dev-custom/review-renderer-shop-id-bugfix
- dev-custom/shell-command
- dev-custom/catalog-disabled-attribute-logging
- dev-custom/outdoor-nativity-sets-item-url-fix
- dev-fix/di-list-pinboard
- dev-custom/i-see-me-additional-logging
- dev-custom/qa-site-no-tabs-content
- dev-testing/catalog-feed-batching
- dev-circleci-project-setup
- dev-update/unit-testing-refactors
- dev-custom/change-product-url-generation-method
- dev-feature/TTOR01-52-added-execption-handling-on-exports
- dev-fix/config-attribute-dropdown-include-all-attributes
This package is auto-updated.
Last update: 2024-12-26 17:53:21 UTC
README
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.
Installation Instructions
Install using Composer (recommended)
Follow the Adobe documentation to Install an extension
Composer Package turnto/social-commerce
-
Run these commands in your root Magento installation directory for composer install:
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
-
Configure the module to connect to your TurnTo account. Please see the General Configuration section below.
Install by copying files
-
Create a
code/TurnTo/SocialCommerce
directory in theapp
directory of your Magento installation. -
Download the latest "Source code" from this page: https://github.com/turnto/magento2-turnto-socialcommerce/releases
-
Extract the file and copy the contents of the TurnTo_SocialCommerce-*** directory into the
app/code/TurnTo/SocialCommerce
directory. -
Run following commands from your root Magento installation directory:
bin/magento module:enable TurnTo_SocialCommerce --clear-static-content bin/magento setup:upgrade bin/magento setup:di:compile bin/magento cache:clean
-
Configure the module to connect to your TurnTo account. Please see the General Configuration section below.
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.
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):
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.
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:
- Login to the backend.
- Go to STORES > Configuration > GENERAL > Web
- Do the following (if you have multiple store views, follow these steps for each "Store View" scope):
- 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/
- 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:
- For the Base URLS > Base URL for User Media Files field, ensure a value is entered. If the field is blank, enter this value:
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.
Rating Import from TurnTo
If the Enable Reviews configuration option is set to Yes:
-
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.
-
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.
Custom Configuration
Note: This is an advanced configuration option and should only be configured by a developer.
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:
{
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:
- 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.
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:
Visual Content Gallery Row Widget
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."
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.
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.
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.