Package DE_EPAGES::ShopNewsletter::Hooks::Shop
Hook module for newsletter.
Functions
- OnAfterSaveRegistration
- OnAfterUpdateShop
- OnBeforeSaveRegistration
- OnConfirmUserAccount
- OnJSONAdvancedLinks
OnAfterSaveRegistration
Set user to new addressee. if no Double-Opt-In, sets Unsibscribed=0 and remove SubscribedInCheckout. (Hook UI_AfterSaveRegistration)
Syntax |
OnAfterSaveRegistration( $hParams ); |
Input |
|
OnAfterUpdateShop
removes the scheduled date when a shop is closed by provider in order to prevent deactivated shops from sending scheduled newsletters. (Hook OBJ_AfterUpdateShop)
Syntax |
OnAfterUpdateShop( $hParams ); |
Input |
|
OnBeforeSaveRegistration
saves newsletter - subscribed on registration. Sets Unsibscribed=2 and SubscribedInCheckout=1. (Hook UI_BeforeSaveRegistration)
Syntax |
OnBeforeSaveRegistration( $hParams ); |
Input |
|
OnConfirmUserAccount
Set user to new addressee. Sets Unsibscribed=0 and remove SubscribedInCheckout. (Hook UI_ConfirmUserAccount)
Syntax |
OnConfirmUserAccount( $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 |
|