Notice: You are browsing the documentation for PrestaShop 9, which is currently in development.

You might want to read the documentation for the current version, PrestaShop 8. Read the current version of this page

Hook actionCartSave

Informations

Cart creation and update This hook is displayed when a product is added to the cart or if the cart's content is modified
Hook actionCartSave
Locations
FO
Type action
Origin core
Aliases [cart]

Located in

Origin File
core classes/Cart.php

Call of the Hook in the origin file

Hook::exec('actionCartSave', ['cart' => $this])