Package DE_EPAGES::ExternalShipping::Hooks::Address
Delete the PickUp Addresses from the User's Address folder
Functions
OnViewClassicalCheckoutAddress
Triggered by hook UI_ViewClasicalCheckoutAddress. Delete all the User's PickUp Addresses from the User's Address folder. It is necessary to prevent the uncontrolled addition of Pickup addresses from a user of a PickUp service as PointRelais on Chronopost cartridge or others. That behaviour could produce errors.
Syntax |
OnViewClassicalCheckoutAddress($Servlet); |
Input |
|
OnViewMultiCheckoutAddress
Triggered by hook UI_ViewMultiCheckoutAddress. Delete all the User's PickUp Addresses from the User's Address folder. It is necessary to prevent the uncontrolled addition of Pickup addresses from a user of a PickUp service as PointRelais on Chronopost cartridge or others. That behaviour could produce errors.
Syntax |
OnViewMultiCheckoutAddress($Servlet); |
Input |
|
_deleteAddresses
Called by OnViewMultiCheckoutAddress and OnViewClassicalCheckoutAddress. Delete all the User's PickUp Addresses from the User's Address folder.
Syntax |
_deleteAddresses($Addresses); |
Input |
|