* @copyright 2007-2026 De Websmid BV * @license Valid for 1 website (or project) for each purchase of license * International Registered Trademark & Property of De Websmid BV */ use Websmid\TrustpilotAfsBcc\Module\Install; use Websmid\TrustpilotAfsBcc\Module\AdminHooks; use Websmid\TrustpilotAfsBcc\Module\DisplayHooks; use PrestaShop\PrestaShop\Core\Module\WidgetInterface; if (!defined('_PS_VERSION_')) { exit; } if (file_exists(__DIR__ . '/vendor/autoload.php')) { require_once __DIR__ . '/vendor/autoload.php'; } class Ws_TrustpilotAfsBcc extends Module implements WidgetInterface { use Install; use AdminHooks; use DisplayHooks; public function __construct() { $this->name = 'ws_trustpilotafsbcc'; $this->version = '1.1.0'; $this->author = 'Isabelle Oving-Anno | De Websmid BV'; $this->need_instance = 0; $this->bootstrap = true; parent::__construct(); $this->displayName = $this->trans('Trustpilot AFS + TrustBox', [], 'Modules.Wstrustpilotafsbcc.Admin'); $this->description = $this->trans('Sends Trustpilot review invitations in the customer\'s language by BCCing the order confirmation to Trustpilot\'s Automatic Feedback Service, and shows a TrustBox widget in the shop header.', [], 'Modules.Wstrustpilotafsbcc.Admin'); $this->ps_versions_compliancy = ['min' => '9.0.0', 'max' => _PS_VERSION_]; } }