ePages 7.17.0 - DE_EPAGES/Order/Hooks/ShopMailType.pm

Package DE_EPAGES::Order::Hooks::ShopMailType

hook functions for ShopMailType.

Base
Exporter

Functions

OnSendTestMail
OnShopMailTypeCreated
ShowMBOTabs

OnSendTestMail

Triggered by hook UI_OnSendTestMail. Add withdrawal rights PDF as attachment in test emails.

Syntax
OnSendTestMail($hParams);
Input
$hParams (ref.hash.*)
hook arguments, used keys are
  • ShopMailType - shop mailtype object
  • Shop - shop object
  • LanguageID - current language id
  • MailParams - mail params

OnShopMailTypeCreated

Triggered by hook API_ShopMailTypeCreated. Import translations for new created shopmailtypes

Syntax
OnShopMailTypeCreated($hParams);
Input
$hParams (ref.hash.*)
hook arguments, used keys are
  • ShopMailType - shop mailtype object

ShowMBOTabs

Triggered by hook UI_ShowMBOTabs. Switch the display of MBO-Tabs include at VIEWACTION_NO_TABS.

Syntax
ShowMBOTabs($hParams);
Input
$hParams (ref.hash.*)
hook arguments, used keys are
  • ViewAction - ViewAction (string)
  • ShowMBOTabs - indicator (boolean
  • Shop - Shop (object)