Package DE_EPAGES::Order::Hooks::Shop
React on changing shop relevant data.
Functions
- OnBeforeCreateUnityShop
- OnBeforePatchUnityShop
- OnBeforeUpdateShop
- OnFinishShopWizard
- OnInsertShop
- OnJSONAdvancedLinks
- OnSaveNumberFormats
OnBeforeCreateUnityShop
Triggered by the hook API_BeforeCreateUnityShop. Imports the new orders shop notification and if the shop has unseen orders, activates the notification
Syntax |
OnBeforeCreateUnityShop( $hParams ); |
Input |
|
OnBeforePatchUnityShop
Triggered by the hook API_BeforePatchUnityShop. Updated oder document attributes in case the shop name was changed.
Syntax |
OnBeforePatchUnityShop( $hParams ); |
Input |
|
OnBeforeUpdateShop
OnBeforeUpdateShop is triggered, change tax matrix at baskets (tax area at lineitemcontainer and tax class at lineitems).
Syntax |
OnBeforeUpdateShop( $hParams ); |
Input |
|
OnFinishShopWizard
Sets the BCC email addresses for mail type CustomerOrderConfirmation on completion of the shop wizard (Hook CustomerOrderConfirmation).
Syntax |
OnFinishShopWizard( $hParams ); |
Input |
|
OnInsertShop
Creates the folders 'ProductTypes' and 'Products' when a new shop is created. (Hook OBJ_InsertShop)
Syntax |
OnInsertShop( $hParams ); |
Input |
|
OnJSONAdvancedLinks
adds a link to to advanced links section in the link picker inside the MBO (Hook OBJ_JSONAdvancedLinks)
Syntax |
OnJSONAdvancedLinks( $hParams ); |
Input |
|
OnSaveNumberFormats
Evaluates the forms 'SaveNumberFormats_CustomerOrder' and 'SaveNumberFormats_OrderDocument' and returns its data. If the feature 'OrderDocument' is missing, the form 'SaveNumberFormats_OrderDocument' will be omitted. Form errors are not thrown directly but passed to the caller.
Syntax |
OnSaveNumberFormats( $hParams ); |
Input |
|