ePages 6.10 - DE_EPAGES/Content/Hooks/Shop.pm

Package DE_EPAGES::Content::Hooks::Shop

create default shop

Functions

OnAfterUpdateShop
OnInsertShop

OnAfterUpdateShop

if shop is opened, then update template types (Hook OBJ_AfterUpdateShop)

Syntax
OnAfterUpdateShop( $hParams );
Input
$hParams (ref.hash.*)
primary key of tax class, key is
  • Object - shop object - object
  • ObjectID - shop object id - int
  • Values - updated values - ref.hash
  • LanguageID - values updated of this language - int

OnInsertShop

Imports default pages (StartPage, Imprint, TermsAndConditions, CustomerInformationshop) into a new shop. (Hook OBJ_InsertShop)

Syntax
OnInsertShop( $hParams );
Input
$hParams (ref.hash.*)
primary key of tax class, key is
  • Object - shop - object