Files
ws_orderreference/ws_orderreference.php
2026-02-09 10:08:02 +01:00

44 lines
1.1 KiB
PHP

<?php
if (!defined('_PS_VERSION_')) {
exit;
}
use Module\WsOrderreference\Module\Install;
use Module\WsOrderreference\Module\displayHooks;
use Module\WsOrderreference\Module\actionHooks;
if (file_exists(__DIR__ . '/vendor/autoload.php')) {
require_once __DIR__ . '/vendor/autoload.php';
}
class Ws_OrderReference extends Module
{
/** @var OrderReferenceRepository */
protected $orderReferenceRepository;
use Install;
use displayHooks;
use actionHooks;
public function __construct()
{
$this->name = 'ws_orderreference';
$this->tab = 'other';
$this->version = '1.0.0';
$this->author = 'Isabelle Oving-Anno | De Websmid b.v.';
$this->need_instance = 0;
$this->ps_versions_compliancy = [
'min' => '9.0.0',
'max' => '9.99.99',
];
$this -> bootstrap = true;
parent::__construct();
$this->displayName = $this->l('Order Reference');
$this->description = $this->l('Adds an optional order reference field to the shopping cart summary.');
}
}