Skip to content

Latest commit

 

History

History
102 lines (71 loc) · 3.93 KB

README.md

File metadata and controls

102 lines (71 loc) · 3.93 KB

Commerce TrustedShops

Tests-CI Style-CI Downloads Releases
Build Status Code styles Downloads Latest Stable Version

Features

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 need Commerce TrustedShops if

  • 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.

Configuration

TBD

Versions

Commerce TrustedShops is available for both Drupal 8 & Drupal 9 & Drupal 10 !

Which version should I use?

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

Dependencies

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.

Supporting organizations

This project is sponsored by Antistatique. We are a Swiss Web Agency, Visit us at www.antistatique.net or Contact us.

Getting Started

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

Configuration

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';