Il manquait le module LocalPickup dans mon Git
This commit is contained in:
31
local/modules/LocalPickup/Config/config.xml
Normal file
31
local/modules/LocalPickup/Config/config.xml
Normal file
@@ -0,0 +1,31 @@
|
||||
<?xml version="1.0" encoding="UTF-8" ?>
|
||||
|
||||
<config xmlns="http://thelia.net/schema/dic/config"
|
||||
xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
|
||||
xsi:schemaLocation="http://thelia.net/schema/dic/config http://thelia.net/schema/dic/config/thelia-1.0.xsd">
|
||||
<forms>
|
||||
<form name="localpickup.form" class="LocalPickup\Form\SetDeliveryPrice" />
|
||||
</forms>
|
||||
|
||||
<loops>
|
||||
<loop class="LocalPickup\Loop\LocalAddress" name="address.local" />
|
||||
</loops>
|
||||
|
||||
<hooks>
|
||||
<hook id="local.pickup.hook" class="LocalPickup\Hook\HookManager" scope="request">
|
||||
<tag name="hook.event_listener" event="module.configuration" type="back" method="onModuleConfiguration" />
|
||||
<tag name="hook.event_listener" event="order-invoice.delivery-address" type="front" method="onOrderInvoiceDeliveryAddress" />
|
||||
</hook>
|
||||
|
||||
</hooks>
|
||||
|
||||
<services>
|
||||
<service id="send.localpickup.mail" class="LocalPickup\Listener\SendEMail" scope="request">
|
||||
<argument type="service" id="mailer"/>
|
||||
<tag name="kernel.event_subscriber"/>
|
||||
</service>
|
||||
<service id="update.localpickup.delivery.address" class="LocalPickup\Listener\UpdateDeliveryAddress">
|
||||
<tag name="kernel.event_subscriber" />
|
||||
</service>
|
||||
</services>
|
||||
</config>
|
||||
Reference in New Issue
Block a user