ePages 6.11.0 - DE_EPAGES/AvaTax/Hooks/TaxMethod.pm

Package DE_EPAGES::AvaTax::Hooks::TaxMethod

Hook Listener on API_EnableShopTaxMethod and API_DisableShopTaxMethod

Functions

OnDisableShopTaxMethod
OnEnableShopTaxMethod

OnDisableShopTaxMethod

Listens to API_DisableShopTaxMethod and resets TaxClass Alias values to default.

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

OnEnableShopTaxMethod

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

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