[11/05/2025] On remplace les modules Colissimo par le combo ColissimoHomeDelivery + ColissimoPickupPoint + ColissimoLabel
This commit is contained in:
17
local/modules/ColissimoLabel/Hook/Back/MenuHook.php
Normal file
17
local/modules/ColissimoLabel/Hook/Back/MenuHook.php
Normal file
@@ -0,0 +1,17 @@
|
||||
<?php
|
||||
|
||||
|
||||
namespace ColissimoLabel\Hook\Back;
|
||||
|
||||
use Thelia\Core\Event\Hook\HookRenderEvent;
|
||||
use Thelia\Core\Hook\BaseHook;
|
||||
|
||||
class MenuHook extends BaseHook
|
||||
{
|
||||
public function onMainInTopMenuItems(HookRenderEvent $event)
|
||||
{
|
||||
$event->add(
|
||||
$this->render('colissimo-label/hook/main.in.top.menu.items.html', [])
|
||||
);
|
||||
}
|
||||
}
|
||||
18
local/modules/ColissimoLabel/Hook/Back/OrderEditHook.php
Normal file
18
local/modules/ColissimoLabel/Hook/Back/OrderEditHook.php
Normal file
@@ -0,0 +1,18 @@
|
||||
<?php
|
||||
|
||||
namespace ColissimoLabel\Hook\Back;
|
||||
|
||||
use ColissimoLabel\ColissimoLabel;
|
||||
use Thelia\Core\Event\Hook\HookRenderEvent;
|
||||
use Thelia\Core\Hook\BaseHook;
|
||||
|
||||
/**
|
||||
* @author Gilles Bourgeat >gilles.bourgeat@gmail.com>
|
||||
*/
|
||||
class OrderEditHook extends BaseHook
|
||||
{
|
||||
public function onOrderEditJs(HookRenderEvent $event)
|
||||
{
|
||||
$event->add($this->render('colissimo-label/hook/order-edit-js.html'));
|
||||
}
|
||||
}
|
||||
Reference in New Issue
Block a user