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

Hook actionValidateStepComplete

Informations

Hook actionValidateStepComplete
Locations
FO
Type action
Origin core
Aliases

Located in

Origin File
core classes/checkout/CheckoutDeliveryStep.php

Parameters details

    <?php
    array(
      'step_name' => 'delivery',
      'request_params' => $requestParams,
      'completed' => &$isComplete,
    );

Call of the Hook in the origin file

Hook::exec(
            'actionValidateStepComplete',
            [
                'step_name' => 'delivery',
                'request_params' => $requestParams,
                'completed' => &$isComplete,
            ],
            Module::getModuleIdByName($currentDeliveryOption['external_module_name'])
        )