Jump to content

[PrestaShop 1.7] How to properly add fields, and translatable fields in product admin


Recommended Posts

Hello folks,

 

Thanks in advance for your help.

 

I'm trying to develop a module that adds fields in the product admin.

 

For PrestaShop 1.6 I used to use the displayAdminProductsExtra hook to add form input fields.

 

In PrestaShop 1.7 I think the same hook has to be used, but what is the proper way for adding fields, since the following code won't work.

{include
file="controllers/products/textarea_lang.tpl"
languages=$languages
input_name='field_name'
class="autoload_rte"
input_value=$field_value}

Hope someone has the good way to do this.

Regards,

David

Share this post


Link to post
Share on other sites
  • 9 months later...

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

Important Information

Cookies ensure the smooth running of our services. Using these, you accept the use of cookies. Learn More