Search code examples
phpsmartye-commerceprestashopprestashop-1.6

Prestashop 1.6 display custom field in Feature Add/Edit form


I am able to display my custom field in Feature Value Add/Edit form by overriding AdminFeaturesController and overriding initFormFeatureValue() function.

I want to do the same for Feature Add/Edit form but cannot find function to override. I tried renderForm() function but didn't work.

Which file/class/controller/function should I look into to override Feature Add/Edit form to display my custom field?


Solution

  • OK, I fixed it. Actually had to call AdminController::renderForm() instead of parent::renderForm() in my override.