Function Hook_ecommerce_usergroup->actualiser

Definitions

sources/hooks/systems/ecommerce/usergroup.php

  • Handling of a product purchase change state.
  • Visibility: public
  • Is abstract?: No
  • Is static?: No
  • Is final?: No
  • Return: bool

Parameters

Name Type Default Set Range Description
$type_code ID_TEXT required parameter N/A N/A The product codename
$purchase_id ID_TEXT required parameter N/A N/A The purchase ID
$details array required parameter N/A N/A Details of the product, with added keys: TXN_ID, STATUS, ORDER_STATUS

Return

  • Whether the product was automatically dispatched (if not then hopefully this function sent a staff notification)
  • Type: boolean
  • Set: N/A
  • Range: N/A