Jump to content

Adding new field to back office product area


Recommended Posts

Hi everyone,

I am trying to create module which add new input to price block in admin area. Prestashop installation is 1.7.5. When I was reading documentation I really liked the idea of this solution: https://devdocs.prestashop.com/1.7/modules/concepts/forms/admin-forms/. I made override to Product class and form "pricing.html.twig" but I can't find hook similar to one used in example. I know I can make template and display like this but I feel like it is not elegant solution so I try to make it by modifying "form_builder". It is possible? I have already made this by overriding core files but want to achieve it only by module.

 

EDIT: I found this and will give a try tomorrow. 

 

Edited by maro_astralo (see edit history)
  • Like 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...