Tests-CI | Style-CI | Downloads | Releases |
---|---|---|---|
Still under active development.
Everything contained in this document is in draft form and subject to change at any time and provided for information purposes only
- Display Trustedbadge
- Customize the Trustebadge
- Collect Reviews on orders
- soon Display Shop Review Sticker
- soon Display the Review Collector on products
- Send Invites Reviews from existing orders
- soon Send Automatic Invites Reviews according to Commerce Order State
Please note: If you have already integrated the Trustbadge® manually, please delete it before continuing.
- You want to display the Trustbadge on all pages,
- You want to customize the Trustbadge,
- You want to use Trusted Shops Product Reviews and have booked an appropriate package,
- You want to display the shop Review Sticker,
- You want to customize the look and content of your Review Sticker,
- You want to have the possibility to send manual invites for orders that happened in the past,
- You want to automatically send Trusted Shops Product Reviews from which Drupal Commerce order state (for example order completed),
Commerce TrustedShops can do a lot more than that, but those are some of the obvious uses of this module.
TBD
Commerce TrustedShops is available for both Drupal 8 & Drupal 9 & Drupal 10 !
Drupal Core | Commerce TrustedShops | Drupal Commerce |
---|---|---|
8.7.x | 1.x | 2.8 |
8.8.x | 2.x | 2.8 |
9.x | 2.x | 2.33 |
10.x | 3.x | 2.33 |
This module relies on TrustedShops PHP SDK.
TrustedShops PHP SDK
is an external PHP library to communicate with the TrustedShops API.
We assume, that you have installed antistatique/trustedshops-php-sdk
using Composer.
This project is sponsored by Antistatique. We are a Swiss Web Agency, Visit us at www.antistatique.net or Contact us.
We highly recommend you to install the module using composer
.
composer require drupal/commerce-trustedshops
You can also install it using the drush
or drupal console
cli.
drush dl commerce-trustedshops
drupal module:install commerce-trustedshops
Configure your TrustedShops Credentials - as required by TrustedShops for manual invites - by adding the following code in your settings.php
/**
* TrustedShops user.
*
* @var string
*/
$config['commerce_trustedshops.settings']['api']['username'] = 'john.doe';
/**
* TrustedShops password.
*
* @var string
*/
$config['commerce_trustedshops.settings']['api']['password'] = 'qwertz';