[11/06/2024] Les premières modifs + installation de quelques modules indispensables
This commit is contained in:
22
domokits/local/modules/LocalPickup/Config/config.xml
Normal file
22
domokits/local/modules/LocalPickup/Config/config.xml
Normal file
@@ -0,0 +1,22 @@
|
||||
<?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\ConfigurationForm" />
|
||||
</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" />
|
||||
<tag name="hook.event_listener" event="order-delivery.extra" type="front" method="onOrderDeliveryExtra" />
|
||||
</hook>
|
||||
</hooks>
|
||||
</config>
|
||||
18
domokits/local/modules/LocalPickup/Config/module.xml
Normal file
18
domokits/local/modules/LocalPickup/Config/module.xml
Normal file
@@ -0,0 +1,18 @@
|
||||
<?xml version="1.0" encoding="UTF-8"?>
|
||||
<module>
|
||||
<fullnamespace>LocalPickup\LocalPickup</fullnamespace>
|
||||
<descriptive locale="en_US">
|
||||
<title>Local Pickup</title>
|
||||
</descriptive>
|
||||
<descriptive locale="fr_FR">
|
||||
<title>Retrait sur place</title>
|
||||
</descriptive>
|
||||
<version>2.0.5</version>
|
||||
<author>
|
||||
<name>Thelia</name>
|
||||
<email>info@thelia.net</email>
|
||||
</author>
|
||||
<type>delivery</type>
|
||||
<thelia>2.5.0</thelia>
|
||||
<stability>alpha</stability>
|
||||
</module>
|
||||
9
domokits/local/modules/LocalPickup/Config/routing.xml
Normal file
9
domokits/local/modules/LocalPickup/Config/routing.xml
Normal file
@@ -0,0 +1,9 @@
|
||||
<?xml version="1.0" encoding="UTF-8"?>
|
||||
<routes xmlns="http://symfony.com/schema/routing"
|
||||
xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
|
||||
xsi:schemaLocation="http://symfony.com/schema/routing http://symfony.com/schema/routing/routing-1.0.xsd">
|
||||
|
||||
<route id="localpickup.configure" path="/admin/module/localpickup/configure" methods="post">
|
||||
<default key="_controller">LocalPickup\Controller\ConfigurationController::configure</default>
|
||||
</route>
|
||||
</routes>
|
||||
Reference in New Issue
Block a user