OrderModuleSubscriber

Extends \Shopware\Plugins\ViisonCommon\Classes\Subscribers\Base

package

Default

Methods

getSubscribedEvents

getSubscribedEvents() 
static
inheritdoc

Replaces the default '0000-00-00' date in the given INSERT query with the real release date of the associated item or NULL, if the item isn't associated with an article detail or hasn't a release date.

onSaveOrderFilterDetailsSQL(\Enlight_Event_EventArgs $args) : string

Arguments

$args

\Enlight_Event_EventArgs

Response

string

Checks the mail context for an order and, if it exists and the plugin is configured to created and send invoices via email for the order's dispatch and payment methods, the invoice document is created and attached to the email that is about to be sent to the customer.

onSendMailSend(\Enlight_Event_EventArgs $args) 

Arguments

$args

\Enlight_Event_EventArgs