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

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 displayFeatureForm

Informations

Add fields to the form 'feature' This hook adds fields to the form 'feature'
Hook displayFeatureForm
Locations
BO
Type display
Origin core
Aliases [featureForm]

Located in

Origin File
core src/PrestaShopBundle/Resources/views/Admin/Sell/Catalog/Features/Blocks/form.html.twig

Call of the Hook in the origin file

{{ renderhook('displayFeatureForm', {'id_feature': featureId}) }}