ePages 6.17.48 - DE_EPAGES/TaxUS/Hooks/TaxMethod.pm

Package DE_EPAGES::TaxUS::Hooks::TaxMethod

Hook Listener on API_BeforeEnableShopTaxMethod

Functions

OnAfterEnableShopTaxMethod
OnBeforeEnableShopTaxMethod

OnAfterEnableShopTaxMethod

Listens to API_EnableShopTaxMethod and sets TaxClass Alias values to TaxUS product taxcodes.

Syntax
OnAfterEnableShopTaxMethod( $hInput );
Input
$hInput (ref.hash)
hook parameter keys :
  • TaxMethod - tax method - object
  • Shop - shop - object
Return
none

OnBeforeEnableShopTaxMethod

Listens to API_BeforeEnableShopTaxMethod

Syntax
OnBeforeEnableShopTaxMethod( $hInput );
Input
$hInput (ref.hash)
hook parameter keys :
  • TaxMethod - tax method - object
  • Shop - shop - object
Return
none