Inital commit

This commit is contained in:
2020-11-19 15:36:28 +01:00
parent 71f32f83d3
commit 66ce4ee218
18077 changed files with 2166122 additions and 35184 deletions

View File

@@ -0,0 +1,27 @@
<?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="virtualproductdelivery.events" class="VirtualProductDelivery\EventListeners\VirtualProductEvents">
<tag name="kernel.event_subscriber"/>
</service>
<service id="virtualproductdelivery.mail" class="VirtualProductDelivery\EventListeners\SendMail">
<argument type="service" id="mailer"/>
<argument type="service" id="event_dispatcher"/>
<tag name="kernel.event_subscriber"/>
</service>
</services>
<hooks>
<hook id="virtualproductdelivery.hook" class="VirtualProductDelivery\Hook\HookManager">
<tag name="hook.event_listener" event="order-invoice.delivery-address" type="front" templates="render:delivery-address.html" />
<tag name="hook.event_listener" event="account-order.after-products" type="front"/>
<tag name="hook.event_listener" event="delivery.delivery-address" type="pdf" templates="render:delivery-address.html" />
<tag name="hook.event_listener" event="invoice.delivery-address" type="pdf" templates="render:delivery-address.html" />
</hook>
</hooks>
</config>

View File

@@ -0,0 +1,24 @@
<?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>VirtualProductDelivery\VirtualProductDelivery</fullnamespace>
<descriptive locale="en_US">
<title>Virtual Products Delivery</title>
</descriptive>
<descriptive locale="fr_FR">
<title>Livraison Produits Virtuels</title>
</descriptive>
<languages>
<language>en_US</language>
<language>fr_FR</language>
</languages>
<version>2.3.5</version>
<author>
<name>Julien Chanséaume</name>
<email>jchanseaume@openstudio.fr</email>
</author>
<type>delivery</type>
<thelia>2.2.0</thelia>
<stability>alpha</stability>
</module>