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

Hook actionProductOutOfStock

Informations

Out-of-stock product This hook displays new action buttons if a product is out of stock
Hook actionProductOutOfStock
Locations
FO
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}