ePages 7.21.0 - DE_EPAGES/Shop/Hooks/ShopLanguage.pm

Package DE_EPAGES::Shop::Hooks::ShopLanguage

copies the default shop name when a shop language is added

Functions

OnDeleteShopLanguage
OnInsertShopLanguage

OnDeleteShopLanguage

deletes the unity shop with the correspondenting locale (Hook OBJ_InsertShopLanguage)

Syntax
OnDeleteShopLanguage( $hParams );
Input
$hParams
hook params
  • Object - ShopLanguage - object
  • ShopLanguageID - object id - int

OnInsertShopLanguage

creates a new unity shop for the correspondenting locale and copies the default shop name when a shop language is added (Hook OBJ_InsertShopLanguage)

Syntax
OnInsertShopLanguage( $hParams );
Input
$hParams
hook params, keys:
  • Object - ShopLanguage - object
  • ShopLanguageID - object id - int