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 displayCartModalContent


Content of Add-to-cart modal This hook displays content in the middle of the window that appears after adding product to cart
Hook displayCartModalContent
Type display
Origin theme

Located in

Origin File
ps_shoppingcart modules/ps_shoppingcart/modal.tpl
classic themes/classic/modules/ps_shoppingcart/modal.tpl
hummingbird themes/hummingbird/modules/ps_shoppingcart/modal.tpl

Call of the Hook in the origin file

{hook h='displayCartModalContent' product=$product}