PointRetrait : on démarre sur le frontOffice

This commit is contained in:
2021-03-04 17:33:34 +01:00
parent b98e6f7590
commit 06d7ce53f2
10 changed files with 145 additions and 25 deletions

View File

@@ -0,0 +1,26 @@
<?php
namespace PointRetrait\Hook;
use PointRetrait\PointRetrait;
use Thelia\Core\Event\Hook\HookRenderEvent;
use Thelia\Core\Hook\BaseHook;
class FrontHook extends BaseHook
{
public function onOrderDeliveryExtra(HookRenderEvent $event)
{
$event->add(
$this->render(
'order-delivery-extra.html',
[
'module_id' => PointRetrait::getModuleId()
]
)
);
}
}