Hook actionApplyCartRule

Informations

Hook actionApplyCartRule
Locations
FO
Type action
Origin core
Aliases
Description

Located in

Origin File
core src/Core/Cart/CartRuleCalculator.php

Call of the Hook in the origin file

Hook::exec(
            'actionApplyCartRule',
            [
                'cart_rule_calculator' => $this,
                'cart_rule_data' => $cartRuleData,
                'cart_rule' => $cartRule,
                'cart' => $cart,
                'with_free_shipping' => $withFreeShipping,
                'is_applied_by_modules' => &$isAppliedByModules,
            ]
        );