magento-guest2customer/etc/events.xml
2025-05-20 14:57:40 +00:00

24 lines
1.1 KiB
XML

<?xml version="1.0"?>
<!--
~ Copyright James Oakley 2025. https://git.oakleys.org/
~
~ This file is part of Jro_Guest2Customer.
~
~ Jro_Guest2Customer is free software: you can redistribute it and/or modify
~ it under the terms of the GNU General Public License as published by the
~ Free Software Foundation, either version 3 of the License, or (at your
~ option) any later version.
~ Jro_Guest2Customer is distributed in the hope that it will be useful,
~ but WITHOUT ANY WARRANTY; without even the implied warranty of
~ MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU General
~ Public License for more details.
~ You should have received a copy of the GNU General Public License along with
~ Jro_Guest2Customer. If not, see https://www.gnu.org/licenses/.
-->
<config xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xsi:noNamespaceSchemaLocation="urn:magento:framework:Event/etc/events.xsd">
<event name="checkout_onepage_controller_success_action">
<observer name="jro_guest2customer_convert" instance="Jro\Guest2Customer\Observer\CreateCustomerAccount"/>
</event>
</config>