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 actionProductOutOfStock


Out-of-stock product This hook displays new action buttons if a product is out of stock
Hook actionProductOutOfStock
Type action
Origin theme
Aliases [productOutOfStock]

Located in

Origin File
classic themes/classic/templates/catalog/_partials/product-details.tpl
hummingbird themes/hummingbird/templates/catalog/product.tpl

Call of the Hook in the origin file

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