ePages 6.10 - DE_EPAGES/Amazon/Hooks/Product.pm

Package DE_EPAGES::Amazon::Hooks::Product

runs when product is updated.

Functions

OnAfterUpdateProduct
OnDeleteProduct

OnAfterUpdateProduct

OnAfterUpdateProduct is triggered when a product is updated.

Syntax
OnAfterUpdateProduct( $hParams );
Input
$hParams (ref.hash.*)
hook arguments, used keys are
  • Object - product object - object
  • ProductID - product identifier - int
  • Values - updated values - ref.hash

OnDeleteProduct

OnDeleteProduct is triggered when a product is deleted and deletes remaining AmazonOffers

Syntax
OnDeleteProduct( $hParams );
Input
$hParams (ref.hash.*)
hook arguments, used keys are
  • Object - product object - object
  • ProductID - product identifier - int
  • Values - updated values - ref.hash