LivraisonParSecteurs : rajout des infos de livraison dans les emails (order-confirmation et order-notification)

This commit is contained in:
2021-02-24 14:07:12 +01:00
parent d05184bf05
commit 4ad626c47d
7 changed files with 786 additions and 5 deletions

View File

@@ -27,6 +27,10 @@
<tag name="hook.event_listener" event="order-delivery.extra" type="front" method="onOrderDeliveryExtra" />
<tag name="hook.event_listener" event="order-invoice.delivery-address" type="front" method="displayDeliveryDate" />
</hook>
<hook id="lps.email.hookmanager" class="LivraisonParSecteurs\Hook\EmailHook">
<tag name="hook.event_listener" event="email-html.order-confirmation.delivery-address" type="email" method="displayDeliveryDateWithinEmail" />
<tag name="hook.event_listener" event="email-html.order-notification.delivery-address" type="email" method="displayDeliveryDateWithinEmail" />
</hook>
</hooks>
</config>