Child pages
  • [in-commerce] Exception, when shipping Guest order from Admin Console [5.2.2-B1]
Skip to end of metadata
Go to start of metadata

When performing checkout on Front-End it is possible to:

  • skip registration phase (perform checkout as non-logged-in user)
  • skip entering the shipping e-mail

When shipping such order from Admin Console there are no e-mail we can use to send ORDER.SHIP e-mail notification, but we're trying to send it regardless and that ends up in the Exception:

Exception: mail error: header To is required in ...\core\kernel\utility\email_send.php on line 1131

Stack Trace:


In the "OrdersEventHandler::InventoryAction" method don't send "ORDER.SHIP" e-mail when e-mail address to be used is empty.

Related Tasks

MINC-177 - Getting issue details... STATUS