ePages 7.17.0 - DE_EPAGES/Catalog/Hooks/ProductFolder.pm

Package DE_EPAGES::Catalog::Hooks::ProductFolder

assign categories from the original product to the cloned product, load category for new product

Functions

AfterProductClone
OnBeforeViewNewProduct

AfterProductClone

Assign categories to the cloned product (Hook AfterProductClone).

Syntax
AfterProductClone( $hParams );
Input
$hParams (ref.hash.*)
objects
  • Object - product - object
  • Clone - product clone - object

OnBeforeViewNewProduct

Check if the product should create in a category. (Hook UI_BeforeViewNewProduct).

Syntax
OnBeforeViewNewProduct( $hParams );
Input
$hParams (ref.hash.*)
objects
  • Object - productfolder - object
  • ContainerID - container/ categoryid - integer