ePages 6.11.0 - DE_EPAGES/Product/Hooks/Shop.pm

Package DE_EPAGES::Product::Hooks::Shop

removes taxclass on declared products of shop which uses removed tax class

Functions

OnBeforeUpdateShop
OnInsertShop

OnBeforeUpdateShop

changes tax classes of products if tax matrix of shop was changed. (Hook OBJ_BeforeUpdateShop)

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

OnInsertShop

Creates the folders 'ProductTypes' and 'Products' when a new shop is created. (Hook OBJ_InsertShop)

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