Add support for ShippingQuery events
This commit is contained in:
parent
f1342e3f42
commit
e843c8ca4f
3 changed files with 37 additions and 0 deletions
|
@ -106,6 +106,11 @@
|
|||
return UpdateEventType::PRE_CHECKOUT_QUERY;
|
||||
}
|
||||
|
||||
if($update->getPreCheckoutQuery() !== null)
|
||||
{
|
||||
return UpdateEventType::PRE_CHECKOUT_QUERY;
|
||||
}
|
||||
|
||||
return UpdateEventType::UPDATE_EVENT;
|
||||
}
|
||||
}
|
Loading…
Add table
Add a link
Reference in a new issue