ePages 7.48.0 - DE_EPAGES/Product/Hooks/Product.pm

Package DE_EPAGES::Product::Hooks::Product

assign categories from the original product to the cloned product

Functions

OnAfterUpdateProduct
OnBeforeUpdateProduct
OnDeleteProduct
OnInsertProduct
OnJSONChildren
OnSEOCheckTests
OnSEOCockpitSearchUntested

OnAfterUpdateProduct

Inherites boolean attrbiutes from the master to sub products (Hook OBJ_AfterUpdateProduct)

Syntax
OnAfterUpdateProduct( $hValues );
Input
$hParams (ref.hash.*)
objects
  • Options - search options - ref.hash

OnBeforeUpdateProduct

Checks the status of the the product notifications. Inherites boolean attrbiutes from the master to sub products. (Hook OBJ_BeforeUpdateProduct)

Syntax
OnBeforeUpdateProduct( $hValues );
Input
$hParams (ref.hash.*)
objects
  • Options - search options - ref.hash

OnDeleteProduct

deletes the product notifications (Hook OBJ_DeleteProduct)

Syntax
OnDeleteProduct( $hValues );
Input
$hParams (ref.hash.*)
objects
  • Options - search options - ref.hash

OnInsertProduct

activates the product notifications (Hook OBJ_InsertProduct)

Syntax
OnInsertProduct( $hValues );
Input
$hParams (ref.hash.*)
objects
  • Options - search options - ref.hash

OnJSONChildren

Assign sub products to json children for content tree.

Syntax
OnJSONChildren( $hParams );
Input
$hParams (ref.hash.*)
objects
  • Object - object (only products used) - object
  • Children - list of child info - ref.array.hash.string
  • Parameters - servlet parameters - ref.hash

OnSEOCheckTests

Extends/changes values from the SEO check for content objects (Hook SEOCheckTests)

Syntax
OnSEOCheckTests( $hValues );
Input
$hParams (ref.hash.*)
objects
  • Object - object - object
  • Shop - shop object - object
  • Values - values and ratings for SEO check - ref.hash

OnSEOCockpitSearchUntested

Extends pager search options for the list of untested contentobject objects on the SEO cockpit. (Hook SEOCockpitSearchUntested)

Syntax
OnSEOCockpitSearchUntested( $hValues );
Input
$hParams (ref.hash.*)
objects
  • Options - search options - ref.hash