27 lines
479 B
PHP
27 lines
479 B
PHP
<?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()
|
|
]
|
|
)
|
|
);
|
|
}
|
|
|
|
}
|
|
|
|
|