Inital commit
This commit is contained in:
18
local/modules/FlatFeeDelivery/Config/config.xml
Normal file
18
local/modules/FlatFeeDelivery/Config/config.xml
Normal file
@@ -0,0 +1,18 @@
|
||||
<?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">
|
||||
<services>
|
||||
<service id="flatfeedelivery.send.mail" class="FlatFeeDelivery\Listener\EventManager" scope="request">
|
||||
<argument type="service" id="mailer"/>
|
||||
<tag name="kernel.event_subscriber"/>
|
||||
</service>
|
||||
</services>
|
||||
|
||||
<hooks>
|
||||
<hook id="flatfeedelivery.shippingprice.hook" class="FlatFeeDelivery\Hook\HookManager" scope="request">
|
||||
<tag name="hook.event_listener" event="shipping-configuration-edit.bottom" type="back" method="processShippingConfigurationEditBottom" />
|
||||
</hook>
|
||||
</hooks>
|
||||
</config>
|
||||
26
local/modules/FlatFeeDelivery/Config/module.xml
Normal file
26
local/modules/FlatFeeDelivery/Config/module.xml
Normal file
@@ -0,0 +1,26 @@
|
||||
<?xml version="1.0" encoding="UTF-8"?>
|
||||
<module xmlns="http://thelia.net/schema/dic/module"
|
||||
xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
|
||||
xsi:schemaLocation="http://thelia.net/schema/dic/module http://thelia.net/schema/dic/module/module-2_1.xsd">
|
||||
<fullnamespace>FlatFeeDelivery\FlatFeeDelivery</fullnamespace>
|
||||
<descriptive locale="en_US">
|
||||
<title>Flat rate delivery</title>
|
||||
<subtitle>Flat rate delivery for each delivery zone</subtitle>
|
||||
</descriptive>
|
||||
<descriptive locale="fr_FR">
|
||||
<title>Livraison forfaitaire</title>
|
||||
<subtitle>Prix de livraison forfaitaire par zone de livraison</subtitle>
|
||||
</descriptive>
|
||||
<languages>
|
||||
<language>en_US</language>
|
||||
<language>fr_FR</language>
|
||||
</languages>
|
||||
<version>1.1.0</version>
|
||||
<author>
|
||||
<name>Thelia</name>
|
||||
<email>info@thelia.net</email>
|
||||
</author>
|
||||
<type>delivery</type>
|
||||
<thelia>2.1.0</thelia>
|
||||
<stability>prod</stability>
|
||||
</module>
|
||||
Reference in New Issue
Block a user