Jump to content

Problem with hook FormModifier for product page


Recommended Posts

Hello, I would like to create a module to update the form on the product page, the tab is "Options" for the form "condition" (the products flags with news, used etc), i want to add a condition .

I tried differents hook with " action<AdminControllerName>FormModifier" like

actionAdminProductsFormModifier

actionAdminProductFormModifier

actionAdminProductsControllerFormModifier

actionAdminProductControllerFormModifier

but still, the hook is not called in my symfony debug bar on @admin_product_form

I searched for hours and find a topic like this https://www.prestashop.com/forums/topic/669819-using-prestashop-17-hooks-problem/ but i still can't find my issue, i checked on my database and they are register.

 

Any idea what is the right hook?

formmodifier.JPG

form2.JPG

  • Sad 1
Link to comment
Share on other sites

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now
×
×
  • Create New...