PrestaShop Developer Conference
PrestaShop Developer Conference
Paris, France - November 6, 2024
Let's talk code, commerce and open source.

Hook additionalCustomerAddressFields

Informations

Add fields to the Customer address form This hook returns an array of FormFields to add them to the customer address registration form
Hook additionalCustomerAddressFields
Locations
FO
Type
Origin core
Aliases

This hook has an $array_return parameter set to true (module output will be set by name in an array, see explaination here).

Located in

Origin File
core classes/form/CustomerAddressFormatter.php

Call of the Hook in the origin file

Hook::exec('additionalCustomerAddressFields', ['fields' => &$format], null, true)