Function Hook_ecommerce_catalogue_items->get_catalogue_template_parameters

Definitions

sources/hooks/systems/ecommerce/catalogue_items.php

  • Get eCommerce-specific template-parameters to include in catalogue templating.Only called from the catalogues code, not the main eCommerce framework.
  • Visibility: public
  • Is abstract?: No
  • Is static?: No
  • Is final?: No

Parameters

Name Type Passed by reference? Variadic? Default Set Range Description
$id AUTO_LINK No No required parameter N/A N/A Product entry ID
&$map array Yes No required parameter N/A N/A Map where product details are placed

Preview

Code (PHP)

/**
 * Get eCommerce-specific template-parameters to include in catalogue templating.Only called from the catalogues code, not the main eCommerce framework.
 *
 * @param  AUTO_LINK $id Product entry ID
 * @param  array $map Map where product details are placed
 */

public function get_catalogue_template_parameters(int $id, array &$map)