Jump to content

[solved][PS 8.2] - Need help adding custom fields to Product Page: actionProductFormBuilderModifier hook not triggering.


Recommended Posts

Hello everyone, new and inexperienced dev here,

I have been trying to create a module to add some custom fields to the product page in BackOffice, I followed the sample guide from PrestaShop itself, using the hook hookActionProductFormBuilderModifier, but noticed I couldn't make it work, actually, the hook was not even being triggered. I tried with other hook like hookActionCategoryFormBuilderModifier and it worked (at this point I was just testing out with Prestashop logger).
I also found this bug report from way back in 2021 , with what looks to be the same problem.

So my question really is, does anybody know if this is indeed a bug still unfixed (which to me seems unlikely since the guide I mentioned is in the PrestaShop documentation) or am I doing something wrong/is there a work around ?

Thanks in advance,
Simão Henriques

Edited by Simao Henriques
solved (see edit history)
Link to comment
Share on other sites

  • 4 weeks later...
  • Simao Henriques changed the title to [solved][PS 8.2] - Need help adding custom fields to Product Page: actionProductFormBuilderModifier hook not triggering.

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...