Package DE_EPAGES::Order::Hooks::Shop
React on changing shop relevant data.
Functions
- OnAfterUpdateShopFeature
- OnBeforeCreateUnityShop
- OnBeforePatchUnityShop
- OnBeforeUpdateShop
- OnFinishShopWizard
- OnInsertShop
- OnIsUnityMigratable
- OnJSONAdvancedLinks
- OnRegisterInitialScriptTags
- OnSaveNumberFormats
- OnUnityViewEmailSettings
OnAfterUpdateShopFeature
Activates the notification about the new feature for the minimum order value.
Syntax |
OnAfterUpdateShopFeature($hParams); |
Input |
|
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 |
|
OnIsUnityMigratable
Triggered by hook OBJ_IsUnityMigratable. Can add further restrictions for the Unity migration. Checks for an order within the last 30 days.
Syntax |
OnIsUnityMigratable($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 |
|
OnRegisterInitialScriptTags
Adds the RegisterSession script tag to the list of script tags that should be registered upon creation of a Unity shop
Syntax |
OnRegisterInitialScriptTags($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 |
|
OnUnityViewEmailSettings
Triggered by the hook UI_UnityViewEmailSettings. Sets the needed TLE variables to render the legal documents section on the email events settings page.
Syntax |
OnUnityViewEmailSettings( $hParams ); |
Input |
|